newTestAdmin builds a V2.1 ClusterAdmin against the given seed broker with retry backoff disabled and auto-cleanup.
(t *testing.T, seed *MockBroker)
| 2136 | // newTestAdmin builds a V2.1 ClusterAdmin against the given seed broker with |
| 2137 | // retry backoff disabled and auto-cleanup. |
| 2138 | func newTestAdmin(t *testing.T, seed *MockBroker) ClusterAdmin { |
| 2139 | t.Helper() |
| 2140 | return newTestAdminAt(t, V2_1_0_0, seed) |
| 2141 | } |
| 2142 | |
| 2143 | // newTestAdminAt is like newTestAdmin but with a caller-chosen KafkaVersion. |
| 2144 | func newTestAdminAt(t *testing.T, version KafkaVersion, seed *MockBroker) ClusterAdmin { |
no test coverage detected