mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-02-18 00:41:46 +01:00
Prersist faulty nodestate metric lists to db
This commit is contained in:
@@ -253,8 +253,8 @@ func TestHealthCheck(t *testing.T) {
|
||||
|
||||
// Check status
|
||||
if wantStatus, ok := tt.wantStates[node]; ok {
|
||||
if state != wantStatus {
|
||||
t.Errorf("HealthCheck() node %s status = %v, want %v", node, state, wantStatus)
|
||||
if state.State != wantStatus {
|
||||
t.Errorf("HealthCheck() node %s status = %v, want %v", node, state.State, wantStatus)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user