mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user