yjp 1 rok pred
rodič
commit
0271a731bb
2 zmenil súbory, kde vykonal 9 pridanie a 1 odobranie
  1. 5 1
      test/instance/instance_test.go
  2. 4 0
      test/v1/v1_test.go

+ 5 - 1
test/instance/instance_test.go

@@ -19,7 +19,7 @@ func simpleUUID() string {
 }
 
 const (
-	noEvent = false
+	noEvent = true
 )
 
 var tableModelDescribe = map[string]string{
@@ -781,6 +781,10 @@ func TestReply(t *testing.T) {
 }
 
 func TestEventQuery(t *testing.T) {
+	if noEvent {
+		return
+	}
+
 	initClient(t, "localhost:30170", "2b78141779ee432295ca371b91c5cac7")
 	defer destroyClient(t, "2b78141779ee432295ca371b91c5cac7")
 

+ 4 - 0
test/v1/v1_test.go

@@ -785,6 +785,10 @@ func TestReply(t *testing.T) {
 }
 
 func TestEventQuery(t *testing.T) {
+	if noEvent {
+		return
+	}
+
 	initClient(t, "localhost:30170", "2b78141779ee432295ca371b91c5cac7")
 	defer destroyClient(t, "2b78141779ee432295ca371b91c5cac7")