MCPcopy
hub / github.com/IBM/sarama / WaitForState

Method WaitForState

functional_consumer_group_test.go:485–491  ·  view source on GitHub ↗
(expected int32)

Source from the content-addressed store, hash-verified

483}
484
485func (m *testFuncConsumerGroupMember) WaitForState(expected int32) {
486 m.t.Helper()
487
488 m.waitFor("state", expected, func() (interface{}, error) {
489 return m.state.Load(), nil
490 })
491}
492
493func (m *testFuncConsumerGroupMember) WaitForHandlers(expected int) {
494 m.t.Helper()

Calls 2

waitForMethod · 0.95
HelperMethod · 0.80

Tested by

no test coverage detected