fix: [skip e2e] unstable ut TestResourceManager (#37761)

issue: #37760

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
This commit is contained in:
wei liu 2024-11-19 10:24:31 +08:00 committed by GitHub
parent 6b82320953
commit 113c72c02e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,8 +61,6 @@ func TestResourceManager(t *testing.T) {
{
res := manager.Delete("test", "foo")
assert.Equal(t, "foo2", res.Get())
res = manager.Delete("test", "foo")
assert.Equal(t, "foo2", res.Get())
assert.Eventually(t, func() bool {
return manager.Delete("test", "foo") == nil
}, time.Second*5, time.Millisecond*500)