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

Test case should wait for next loop to build chain chain in each 5 seconds

parent 8a37d11d
Branches
Tags
No related merge requests found
...@@ -124,7 +124,7 @@ func Test_Destroy(t *testing.T) { ...@@ -124,7 +124,7 @@ func Test_Destroy(t *testing.T) {
func Test_List(t *testing.T) { func Test_List(t *testing.T) {
registryDirectory, _ := normalRegistryDir() registryDirectory, _ := normalRegistryDir()
time.Sleep(4e9) time.Sleep(6e9)
assert.Len(t, registryDirectory.List(&invocation.RPCInvocation{}), 3) assert.Len(t, registryDirectory.List(&invocation.RPCInvocation{}), 3)
assert.Equal(t, true, registryDirectory.IsAvailable()) assert.Equal(t, true, registryDirectory.IsAvailable())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment