(t *testing.T)
| 199 | } |
| 200 | |
| 201 | func TestVersionMatrixIdempotent(t *testing.T) { |
| 202 | metrics.UseNilMetrics = true // disable Sarama's go-metrics library |
| 203 | t.Cleanup(func() { |
| 204 | metrics.UseNilMetrics = false |
| 205 | }) |
| 206 | setupFunctionalTest(t) |
| 207 | defer teardownFunctionalTest(t) |
| 208 | |
| 209 | // Produce lot's of message with all possible combinations of supported |
| 210 | // protocol versions starting with v0.11 (first where idempotent was supported) |
| 211 | testVersions := versionRange(V0_11_0_0) |
| 212 | producedMessages := produceMsgs(t, testVersions, []CompressionCodec{CompressionNone}, 17, 100, true) |
| 213 | |
| 214 | // When/Then |
| 215 | consumeMsgs(t, testVersions, producedMessages) |
| 216 | } |
| 217 | |
| 218 | func TestReadOnlyAndAllCommittedMessages(t *testing.T) { |
| 219 | t.Skip("TODO: TestReadOnlyAndAllCommittedMessages is periodically failing inexplicably.") |
nothing calls this directly
no test coverage detected