Skip to content
Snippets Groups Projects
Commit 4d73001c authored by 邹毅贤's avatar 邹毅贤
Browse files

fix test case

parent 207c5a37
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ func TestSubscribe_Group(t *testing.T) {
func Test_Destroy(t *testing.T) {
registryDirectory, _ := normalRegistryDir()
time.Sleep(1e9)
time.Sleep(3e9)
assert.Len(t, registryDirectory.cacheInvokers, 3)
assert.Equal(t, true, registryDirectory.IsAvailable())
......@@ -121,7 +121,7 @@ func Test_Destroy(t *testing.T) {
func Test_List(t *testing.T) {
registryDirectory, _ := normalRegistryDir()
time.Sleep(1e9)
time.Sleep(3e9)
assert.Len(t, registryDirectory.List(&invocation.RPCInvocation{}), 3)
assert.Equal(t, true, registryDirectory.IsAvailable())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment