fix the time precision in the engine test
parent
8eb8ec9034
commit
11708cad64
|
@ -75,7 +75,7 @@ func (self *EngineSuite) runQuery(query string, c *C, expectedSeries string) {
|
||||||
c.Assert(err, IsNil)
|
c.Assert(err, IsNil)
|
||||||
actual := []*protocol.Series{}
|
actual := []*protocol.Series{}
|
||||||
for _, s := range result.Members {
|
for _, s := range result.Members {
|
||||||
dataStoreS, err := ConvertToDataStoreSeries(s, MillisecondPrecision)
|
dataStoreS, err := ConvertToDataStoreSeries(s, SecondPrecision)
|
||||||
c.Assert(err, IsNil)
|
c.Assert(err, IsNil)
|
||||||
actual = append(actual, dataStoreS)
|
actual = append(actual, dataStoreS)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue