mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 21:01:40 +02:00
Fix failed test due to config change
This commit is contained in:
@@ -63,7 +63,7 @@ func TestGetUIConfig(t *testing.T) {
|
|||||||
tmp := cfg["plot_list_selectedMetrics"]
|
tmp := cfg["plot_list_selectedMetrics"]
|
||||||
metrics := tmp.([]string)
|
metrics := tmp.([]string)
|
||||||
str := metrics[2]
|
str := metrics[2]
|
||||||
if str != "mem_used" {
|
if str != "flops_any" {
|
||||||
t.Errorf("wrong config\ngot: %s \nwant: mem_bw", str)
|
t.Errorf("wrong config\ngot: %s \nwant: flops_any", str)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user