Fix ut multi-remove the timer (#22021)

See also: #22019

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/22026/head
XuanYang-cn 2023-02-07 14:15:54 +08:00 committed by GitHub
parent 004a8c25ca
commit a8db19fbdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -190,7 +190,6 @@ func TestChannelManager_StateTransfer(t *testing.T) {
nodeID: nodeID,
}
chManager.stateTimer.notifyTimeoutWatcher(e)
chManager.stateTimer.stopIfExist(e)
waitAndCheckState(t, metakv, datapb.ChannelWatchState_ToRelease, nodeID, cName, collectionID)
assert.Eventually(t, func() bool {