File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ func TestStartSyncHostNCVersionLoop(t *testing.T) {
354354 ChannelMode : orchestratorType ,
355355 }
356356 svc .StartSyncHostNCVersionLoop (t .Context (), cnsconf )
357- svc .ncSyncState . Wait (t .Context ()) // wait for at leat one run
357+ svc .Wait (t .Context ()) // wait for at leat one run
358358 containerStatus = svc .state .ContainerStatus [req .NetworkContainerid ]
359359 if containerStatus .HostVersion != "0" {
360360 t .Errorf ("Unexpected containerStatus.HostVersion %s, expected host version should be 0 in string" , containerStatus .HostVersion )
@@ -406,7 +406,7 @@ func TestPendingIPsGotUpdatedWhenSyncHostNCVersion(t *testing.T) {
406406 defer cleanup ()
407407
408408 svc .StartSyncHostNCVersionLoop (t .Context (), fastcnsconf )
409- svc .ncSyncState . Wait (t .Context ()) // wait for at leat one run
409+ svc .Wait (t .Context ()) // wait for at leat one run
410410 containerStatus = svc .state .ContainerStatus [req .NetworkContainerid ]
411411
412412 receivedSecondaryIPConfigs = containerStatus .CreateNetworkContainerRequest .SecondaryIPConfigs
You can’t perform that action at this time.
0 commit comments