Browse Source

Merge pull request #772 from slaunay/bugfix/segv-on-client-coordinator-test

Stop test if client.Coordinator fails somehow
Evan Huus 9 years ago
parent
commit
fd498173ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functional_client_test.go

+ 1 - 1
functional_client_test.go

@@ -78,7 +78,7 @@ func TestFuncClientCoordinator(t *testing.T) {
 	for i := 0; i < 10; i++ {
 		broker, err := client.Coordinator(fmt.Sprintf("another_new_consumer_group_%d", i))
 		if err != nil {
-			t.Error(err)
+			t.Fatal(err)
 		}
 
 		if connected, err := broker.Connected(); !connected || err != nil {