Fix unit test timeout (#16537)

Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
Bingyi Sun 2022-04-25 14:49:46 +08:00 committed by GitHub
parent 14724013ba
commit 1682dc49fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1163,6 +1163,7 @@ func TestLoadBalanceAndReschedulSegmentTaskAfterNodeDown(t *testing.T) {
}
func TestLoadBalanceAndRescheduleDmChannelTaskAfterNodeDown(t *testing.T) {
defer removeAllSession()
refreshParams()
ctx := context.Background()
queryCoord, err := startQueryCoord(ctx)
@ -1214,9 +1215,6 @@ func TestLoadBalanceAndRescheduleDmChannelTaskAfterNodeDown(t *testing.T) {
break
}
}
err = removeAllSession()
assert.Nil(t, err)
}
func TestMergeWatchDeltaChannelInfo(t *testing.T) {