alerting(eval): EvalResult.Batch carries nextEvalState for cursor threading
This commit is contained in:
@@ -157,7 +157,7 @@ class AlertStateTransitionsTest {
|
||||
|
||||
@Test
|
||||
void batchResultAlwaysEmpty() {
|
||||
var batch = new EvalResult.Batch(List.of(FIRING_RESULT));
|
||||
var batch = new EvalResult.Batch(List.of(FIRING_RESULT), Map.of());
|
||||
var next = AlertStateTransitions.apply(null, batch, ruleWith(0), NOW);
|
||||
assertThat(next).isEmpty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user