mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Fix failed test due to config change
This commit is contained in:
parent
9137931b74
commit
17113eddca
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user