mirror of https://github.com/milvus-io/milvus.git
fix: Fix unstable msg dispatcher ut (#29925)
This fix will not augment the execution time of unit tests, but solely enhances tolerance for waiting for failure. issue: https://github.com/milvus-io/milvus/issues/29921 Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/29665/head
parent
073de855b3
commit
8febbc79bb
|
@ -101,7 +101,7 @@ func TestManager(t *testing.T) {
|
|||
go c.Run()
|
||||
assert.Eventually(t, func() bool {
|
||||
return c.Num() == 1 // expected merged
|
||||
}, 300*time.Millisecond, 10*time.Millisecond)
|
||||
}, 3*time.Second, 10*time.Millisecond)
|
||||
|
||||
assert.NotPanics(t, func() {
|
||||
c.Close()
|
||||
|
|
Loading…
Reference in New Issue