Browse Source

Merge pull request #7885 from luedigernet/fix-TestEvent

Fix watch_test.go TestEvent
Xiang Li 8 years ago
parent
commit
af7d051019
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clientv3/watch_test.go

+ 1 - 1
clientv3/watch_test.go

@@ -42,7 +42,7 @@ func TestEvent(t *testing.T) {
 				ModRevision:    4,
 				ModRevision:    4,
 			},
 			},
 		},
 		},
-		isModify: false,
+		isModify: true,
 	}}
 	}}
 	for i, tt := range tests {
 	for i, tt := range tests {
 		if tt.isCreate && !tt.ev.IsCreate() {
 		if tt.isCreate && !tt.ev.IsCreate() {