Explorar el Código

grpcproxy: use valid progress notification in broadcast test

Anthony Romano hace 10 años
padre
commit
6ac284a577
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      proxy/grpcproxy/watcher_group_test.go

+ 1 - 1
proxy/grpcproxy/watcher_group_test.go

@@ -40,7 +40,7 @@ func TestWatchgroupBroadcast(t *testing.T) {
 	}
 
 	// send a progress response
-	wch <- clientv3.WatchResponse{}
+	wch <- clientv3.WatchResponse{Header: pb.ResponseHeader{Revision: 1}}
 
 	for _, ch := range chs {
 		<-ch