tests: Fixed flaky test by using user joined callback. (#393)
authorAkshay Shekher <voldyman666@gmail.com>
Sun, 2 May 2021 17:02:39 +0000 (10:02 -0700)
committerGitHub <noreply@github.com>
Sun, 2 May 2021 17:02:39 +0000 (13:02 -0400)
commitc3b589b2861e51b19325eb3d7cc4480d3834c4ea
treeaf16c2f6a88d2f64e653103f8a06bbab33f07bb6
parente1e534344eca3d8fc468d958d0ff3742f7cf5358
tests: Fixed flaky test by using user joined callback. (#393)

Instead of relying on the go scheduler to do the expected thing >_>

Co-authored-by: Akshay <akshay.shekher@gmail.com>
host_test.go