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

Fix kubernetes registry ut block issue

parent 0769966f
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,6 @@ package kubernetes
import (
"encoding/json"
"net/http"
_ "net/http/pprof"
"os"
"strconv"
"testing"
......@@ -240,8 +238,6 @@ func (s *KubernetesRegistryTestSuite) SetupSuite() {
t.Fatal(err)
}
go http.ListenAndServe(":6061", nil)
}
func (s *KubernetesRegistryTestSuite) TestDataChange() {
......
......@@ -65,6 +65,7 @@ func (s *KubernetesRegistryTestSuite) TestSubscribe() {
if err != nil {
t.Fatal(err)
}
time.Sleep(1e9)
go func() {
err := r.Register(url)
......
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