(t *testing.T)
| 210 | } |
| 211 | |
| 212 | func testWriterClose(t *testing.T) { |
| 213 | const topic = "test-writer-0" |
| 214 | createTopic(t, topic, 1) |
| 215 | defer deleteTopic(t, topic) |
| 216 | |
| 217 | w := newTestWriter(WriterConfig{ |
| 218 | Topic: topic, |
| 219 | }) |
| 220 | |
| 221 | if err := w.Close(); err != nil { |
| 222 | t.Error(err) |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | func testWriterRequiredAcksNone(t *testing.T) { |
| 227 | topic := makeTopic() |
nothing calls this directly
no test coverage detected