InfluxDB: return a table rather than an error when timeseries is missing time (#27320)

This commit is contained in:
Ryan McKinley
2020-09-01 15:06:38 -07:00
committed by GitHub
parent ff1149ac39
commit 0bc67b032a
4 changed files with 58 additions and 28 deletions
+7
View File
@@ -87,6 +87,13 @@ func TestExecuteSimple(t *testing.T) {
})
}
func TestExecuteSingle(t *testing.T) {
t.Run("Single value", func(t *testing.T) {
dr := verifyGoldenResponse(t, "single")
require.Len(t, dr.Frames, 1)
})
}
func TestExecuteMultiple(t *testing.T) {
t.Run("Multiple Test", func(t *testing.T) {
dr := verifyGoldenResponse(t, "multiple")