Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,7 @@ service:
configChan <- cfgChange
coord.runLoopIteration(ctx)
assert.True(t, cfgChange.acked, "empty policy should be acknowledged")
assert.NoError(t, cfgChange.err, "config processing shouldn't report an error")
assert.True(t, updated, "empty policy should cause runtime manager update")
assert.Empty(t, components, "empty policy should produce empty component model")
assert.True(t, otelUpdated, "empty policy should cause otel manager update")
Expand Down Expand Up @@ -1057,6 +1058,7 @@ service:
configChan <- cfgChange
coord.runLoopIteration(ctx)
assert.True(t, cfgChange.acked, "Coordinator should ACK a successful policy change")
assert.NoError(t, cfgChange.err, "config processing shouldn't report an error")

// Make sure the runtime manager received the expected component update.
// An assert.Equal on the full component model doesn't play nice with
Expand Down Expand Up @@ -1121,6 +1123,7 @@ service:
configChan <- cfgChange
coord.runLoopIteration(ctx)
assert.True(t, cfgChange.acked, "Coordinator should ACK a successful policy change")
assert.NoError(t, cfgChange.err, "config processing shouldn't report an error")

// Make sure the runtime manager received the expected component update.
// An assert.Equal on the full component model doesn't play nice with
Expand Down