0lai0 commented on code in PR #868:
URL: https://github.com/apache/yunikorn-k8shim/pull/868#discussion_r1663755531
##########
pkg/client/clients_test.go:
##########
@@ -58,16 +58,16 @@ func TestRun(t *testing.T) {
}()
clients.Run(stop)
- err := common.WaitForCondition(10*time.Millisecond, time.Second, func()
bool {
+ err := utils.WaitForCondition(func() bool {
return test.RunningInformers.Load() == noOfInformers
- })
+ }, 10*time.Millisecond, 5*time.Second)
Review Comment:
I think it should be changed to time.Second. I'll fix it right away.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]