Skip to content

Commit f0de013

Browse files
committed
Change VSMBNoDirectMap_WCOW_Hypervisor test to fix CI break
In this PR (#1019) I changed how we pass annotations to the cri-containerd suite, but this PR (#1030) got in before which added a new test. This caused the CI to fail on checkin of the first PR. Always rebase kids Signed-off-by: Daniel Canter <dcanter@microsoft.com>
1 parent 640d380 commit f0de013

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

test/cri-containerd/runpodsandbox_test.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,13 @@ func Test_RunPodSandbox_VSMBNoDirectMap_WCOW_Hypervisor(t *testing.T) {
223223

224224
pullRequiredImages(t, []string{imageWindowsNanoserver})
225225

226-
request := getRunPodSandboxRequest(t, wcowHypervisorRuntimeHandler)
227-
request.Config.Annotations = map[string]string{
228-
"io.microsoft.virtualmachine.wcow.virtualSMB.nodirectmap": "true",
229-
}
226+
request := getRunPodSandboxRequest(
227+
t,
228+
wcowHypervisorRuntimeHandler,
229+
map[string]string{
230+
"io.microsoft.virtualmachine.wcow.virtualSMB.nodirectmap": "true",
231+
},
232+
)
230233
runPodSandboxTest(t, request)
231234
}
232235

0 commit comments

Comments
 (0)