Add server test for invalid fill

pull/10616/head
Jared Scheib 2017-09-06 12:21:44 -04:00
parent f8a1a4b785
commit 856f879924
1 changed files with 6 additions and 0 deletions

View File

@ -525,6 +525,12 @@ func TestConvert(t *testing.T) {
},
},
},
{
name: "Test invalid fill rejected",
influxQL: `SELECT mean("usage_idle") FROM "telegraf"."autogen"."cpu" WHERE time > now() - 15m GROUP BY time(1m) FILL(LINEAR)`,
wantErr: true,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {