@@ -213,27 +213,27 @@ void testQueryRangeInvalidArguments()
213
213
{
214
214
assertQueryFails (
215
215
"""
216
- SELECT to_iso8601(timestamp), value FROM
217
- TABLE(system.query_range(
218
- 'count_over_time({test="timestamp_metrics_query"}[5m])',
219
- TIMESTAMP '2012-08-08',
220
- TIMESTAMP '2012-08-09',
221
- -300
222
- ))
223
- LIMIT 1
224
- """ ,
216
+ SELECT to_iso8601(timestamp), value FROM
217
+ TABLE(system.query_range(
218
+ 'count_over_time({test="timestamp_metrics_query"}[5m])',
219
+ TIMESTAMP '2012-08-08',
220
+ TIMESTAMP '2012-08-09',
221
+ -300
222
+ ))
223
+ LIMIT 1
224
+ """ ,
225
225
"step must be positive" );
226
226
assertQueryFails (
227
227
"""
228
- SELECT to_iso8601(timestamp), value FROM
229
- TABLE(system.query_range(
230
- 'count_over_time({test="timestamp_metrics_query"}[5m])',
231
- TIMESTAMP '2012-08-08',
232
- TIMESTAMP '2012-08-09',
233
- NULL
234
- ))
235
- LIMIT 1
236
- """ ,
228
+ SELECT to_iso8601(timestamp), value FROM
229
+ TABLE(system.query_range(
230
+ 'count_over_time({test="timestamp_metrics_query"}[5m])',
231
+ TIMESTAMP '2012-08-08',
232
+ TIMESTAMP '2012-08-09',
233
+ NULL
234
+ ))
235
+ LIMIT 1
236
+ """ ,
237
237
"step must be positive" );
238
238
}
239
239
}
0 commit comments