Skip to content
Snippets Groups Projects
Commit 3bb7f252 authored by panty's avatar panty Committed by GitHub
Browse files

Merge pull request #1 from apache/master

pull code
parents 29415180 b4015866
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,6 @@
package zookeeper
import (
"fmt"
"testing"
"time"
)
......@@ -27,6 +26,7 @@ import (
"github.com/stretchr/testify/assert"
)
import (
"github.com/apache/dubbo-go/common/logger"
"github.com/apache/dubbo-go/remoting"
)
......@@ -108,10 +108,10 @@ type mockDataListener struct {
}
func (m *mockDataListener) DataChange(eventType remoting.Event) bool {
fmt.Println(eventType)
logger.Info(eventType)
m.eventList = append(m.eventList, eventType)
if eventType.Content == m.changedData {
m.client.Wait.Done()
m.client.Close()
}
return true
}
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