Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
eapache committed Jul 3, 2018
1 parent b836493 commit 5d35641
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,11 @@ func TestClientController(t *testing.T) {
t.Fatal(err)
}
defer safeClose(t, client2)
if _, err = client2.Controller(); err != ErrControllerNotAvailable {
t.Errorf("Expected Contoller() to return %s, found %s", ErrControllerNotAvailable, err)
if _, err = client2.Controller(); err != ErrUnsupportedVersion {
t.Errorf("Expected Contoller() to return %s, found %s", ErrUnsupportedVersion, err)
}
}

func TestClientCoordinatorWithConsumerOffsetsTopic(t *testing.T) {
seedBroker := NewMockBroker(t, 1)
staleCoordinator := NewMockBroker(t, 2)
Expand Down

0 comments on commit 5d35641

Please sign in to comment.