mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Fix flakiness in monitoring e2e test.
This commit is contained in:
parent
49ff04765b
commit
b1911b9f98
@ -137,7 +137,7 @@ func getInfluxdbData(c *influxdb.Client, query string) (map[string]bool, error)
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if len(series) != 1 {
|
if len(series) != 1 {
|
||||||
Failf("expected only one series from Influxdb for query %q. Got %+v", query, series)
|
return nil, fmt.Errorf("expected only one series from Influxdb for query %q. Got %+v", query, series)
|
||||||
}
|
}
|
||||||
if len(series[0].GetColumns()) != 2 {
|
if len(series[0].GetColumns()) != 2 {
|
||||||
Failf("Expected two columns for query %q. Found %v", query, series[0].GetColumns())
|
Failf("Expected two columns for query %q. Found %v", query, series[0].GetColumns())
|
||||||
|
Loading…
Reference in New Issue
Block a user