Skip to content
Snippets Groups Projects
Unverified Commit 269714a4 authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #693 from sxllwx/fix_k8s_ut

Fix k8s ut bug
parents 12680fda 79ade24c
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ package kubernetes
import (
"testing"
"time"
)
import (
......@@ -87,6 +88,7 @@ func TestListener(t *testing.T) {
listener := NewEventListener(c)
dataListener := &mockDataListener{client: c, changedData: changedData, rc: make(chan remoting.Event)}
listener.ListenServiceEvent("/dubbo", dataListener)
time.Sleep(1e9)
for _, tc := range tests {
......
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