Skip to content

Commit

Permalink
coordinator ut
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas committed Oct 11, 2023
1 parent 08378a4 commit 970c9a3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,9 +648,8 @@ inputs:
coord.runLoopIteration(ctx)
assert.True(t, cfgChange.acked, "Coordinator should ACK a successful policy change")

// server is stopped: monitoring.metrics is disabled
assert.True(t, monitoringServer.stopTriggered)
assert.False(t, monitoringServer.isRunning)
// server is running: monitoring.metrics is disabled does not have an effect
assert.True(t, monitoringServer.isRunning)
}

func TestCoordinatorPolicyChangeUpdatesRuntimeManager(t *testing.T) {
Expand Down

0 comments on commit 970c9a3

Please sign in to comment.