Fix the logic of waiting for collection to be loaded (#7978)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/7988/head
dragondriver 2021-09-15 17:34:02 +08:00 committed by GitHub
parent 13f9b32452
commit 502cb68c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1079,7 +1079,7 @@ func TestProxy(t *testing.T) {
}
// waiting for collection to be loaded
for f() {
for !f() {
}
})