(t *testing.T)
| 15 | ) |
| 16 | |
| 17 | func TestFetchRequest(t *testing.T) { |
| 18 | prototest.TestRequest(t, v0, &fetch.Request{ |
| 19 | ReplicaID: -1, |
| 20 | MaxWaitTime: 500, |
| 21 | MinBytes: 1024, |
| 22 | Topics: []fetch.RequestTopic{ |
| 23 | { |
| 24 | Topic: "topic-1", |
| 25 | Partitions: []fetch.RequestPartition{ |
| 26 | { |
| 27 | Partition: 1, |
| 28 | FetchOffset: 2, |
| 29 | PartitionMaxBytes: 1024, |
| 30 | }, |
| 31 | }, |
| 32 | }, |
| 33 | }, |
| 34 | }) |
| 35 | } |
| 36 | |
| 37 | func TestFetchResponse(t *testing.T) { |
| 38 | t0 := time.Now().Truncate(time.Millisecond) |
nothing calls this directly
no test coverage detected