Make list series engine not yield empty response, which was breaking the test when shards didn't have any series.
parent
2b6dd3778f
commit
11ee648f81
|
@ -43,7 +43,9 @@ func (self *ListSeriesEngine) YieldPoint(seriesName *string, columnNames []strin
|
|||
}
|
||||
|
||||
func (self *ListSeriesEngine) Close() {
|
||||
self.responseChan <- self.response
|
||||
if len(self.response.MultiSeries) > 0 {
|
||||
self.responseChan <- self.response
|
||||
}
|
||||
response := &protocol.Response{Type: &endStreamResponse}
|
||||
self.responseChan <- response
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue