Skip to content

Commit

Permalink
minor fix in unit test
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <[email protected]>
  • Loading branch information
NikitaSkrynnik committed Aug 16, 2024
1 parent 4f8557e commit e4bfbef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/networkservice/chains/nsmgr/heal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ func TestNSMGRHealEndpoint_CustomReselectFunc(t *testing.T) {
counter := new(count.Server)
nseReg2 := defaultRegistryEndpoint(nsReg.Name)
nseReg2.Name += "-2"
domain.Nodes[0].NewEndpoint(ctx, nseReg2, sandbox.GenerateTestToken, counter, checker)
domain.Nodes[0].NewEndpoint(ctx, nseReg2, sandbox.GenerateTestToken, checker, counter)

require.Eventually(t, func() bool { return counter.UniqueRequests() > 0 }, timeout, tick)
}

0 comments on commit e4bfbef

Please sign in to comment.