Chore: Update InfluxDB response parser test files (#81899)

* add show diagnostics tests

* update test files
This commit is contained in:
ismail simsek
2024-02-06 11:31:55 +01:00
committed by GitHub
parent ec1b669ce6
commit 994aedaac3
25 changed files with 539 additions and 1118 deletions
@@ -43,6 +43,10 @@ func generateQuery(resFormat string, alias string) *models.Query {
}
}
// show_diagnostics file won't be added to test files because of its inconsistent
// json data with other responses. But I do add it here just to have it.
// It can be parsed with time_series response but not table.
// It only works with InfluxDB v1.x. The usage of it is quite limited.
var testFiles = []string{
"all_values_are_null",
"influx_select_all_from_cpu",