Skip to content

Commit

Permalink
Disable SetSaslCredentials test after Close
Browse files Browse the repository at this point in the history
  • Loading branch information
emasab committed Jan 16, 2023
1 parent 3289abb commit 6dbb0fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kafka/consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,11 @@ func TestConsumerAPIs(t *testing.T) {
t.Errorf("Close failed: %s", err)
}

// TODO: currently it's not expected that any method is called after
// Close, can be enabled again after merging #901

// Tests the SetSaslCredentials call to ensure that the API does not crash.
c.SetSaslCredentials("username", "password")
// c.SetSaslCredentials("username", "password")
}

func TestConsumerSubscription(t *testing.T) {
Expand Down

0 comments on commit 6dbb0fb

Please sign in to comment.