Skip to content
Snippets Groups Projects
Commit 51b833ad authored by scott.wang's avatar scott.wang
Browse files

Add new registry block time, wait the watch groutine start

parent 4d679f49
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ import (
"os"
"strconv"
"testing"
"time"
)
import (
......@@ -212,6 +213,7 @@ func (s *KubernetesRegistryTestSuite) initRegistry() *kubernetesRegistry {
t.Fatal(err)
}
time.Sleep(time.Second)
return mock.(*kubernetesRegistry)
}
......
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