Skip to content

Commit 2c2bf28

Browse files
committed
backend fix test after rebase
1 parent b1431a3 commit 2c2bf28

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

agent/agentcontainers/api_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,8 +1389,6 @@ func TestAPI(t *testing.T) {
13891389
mCCLI.EXPECT().ExecAs(gomock.Any(), "new-test-container-id", "root", "mkdir", "-p", "/.coder-agent").Return(nil, nil),
13901390
mCCLI.EXPECT().Copy(gomock.Any(), "new-test-container-id", coderBin, "/.coder-agent/coder").Return(nil),
13911391
mCCLI.EXPECT().ExecAs(gomock.Any(), "new-test-container-id", "root", "chmod", "0755", "/.coder-agent", "/.coder-agent/coder").Return(nil, nil),
1392-
mCCLI.EXPECT().ExecAs(gomock.Any(), "new-test-container-id", "root", "chown", "0:0", "/.coder-agent", "/.coder-agent/coder").Return(nil, nil),
1393-
mCCLI.EXPECT().ExecAs(gomock.Any(), "new-test-container-id", "root", "setcap", "cap_net_admin+ep", "/.coder-agent/coder").Return(nil, nil),
13941392
)
13951393

13961394
// Terminate the agent and verify it can be reinjected.

0 commit comments

Comments
 (0)