mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-04-15 20:07:30 +02: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