(t *testing.T)
| 119 | } |
| 120 | |
| 121 | func TestClientProduceEmptyRecords(t *testing.T) { |
| 122 | client, topic, shutdown := newLocalClientAndTopic() |
| 123 | defer shutdown() |
| 124 | |
| 125 | _, err := client.Produce(context.Background(), &ProduceRequest{ |
| 126 | Topic: topic, |
| 127 | Partition: 0, |
| 128 | RequiredAcks: -1, |
| 129 | Records: NewRecordReader(), |
| 130 | }) |
| 131 | |
| 132 | if err != nil { |
| 133 | t.Fatal(err) |
| 134 | } |
| 135 | } |
nothing calls this directly
no test coverage detected