Skip to content

Commit

Permalink
tests: Fix ExecUser LCOW tests using old function signature (#1184)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim An <[email protected]>
  • Loading branch information
anmaxvl authored Oct 1, 2021
1 parent f3d7b87 commit a0d8792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cri-containerd/container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ func Test_RunContainer_ExecUser_LCOW(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()

sandboxRequest := getRunPodSandboxRequest(t, lcowRuntimeHandler, nil)
sandboxRequest := getRunPodSandboxRequest(t, lcowRuntimeHandler)

podID := runPodSandbox(t, client, ctx, sandboxRequest)
defer removePodSandbox(t, client, ctx, podID)
Expand Down Expand Up @@ -956,7 +956,7 @@ func Test_RunContainer_ExecUser_Root_LCOW(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()

sandboxRequest := getRunPodSandboxRequest(t, lcowRuntimeHandler, nil)
sandboxRequest := getRunPodSandboxRequest(t, lcowRuntimeHandler)

podID := runPodSandbox(t, client, ctx, sandboxRequest)
defer removePodSandbox(t, client, ctx, podID)
Expand Down

0 comments on commit a0d8792

Please sign in to comment.