Skip to content

Commit

Permalink
test(engine): limit variable records
Browse files Browse the repository at this point in the history
This test ran for 5 seconds everytime because no limiter was applied.

(cherry picked from commit 4264983)
  • Loading branch information
remcowesterhoud authored and github-actions[bot] committed Apr 11, 2023
1 parent 0c30137 commit 5e74059
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ public void shouldThrowErrorWithVariables() {
final List<Record<VariableRecordValue>> variableRecords =
RecordingExporter.variableRecords()
.withProcessInstanceKey(processInstanceKey)
.limit(r -> r.getValue().getName().equals("foo"))
.collect(Collectors.toList());

final List<Record<ProcessInstanceRecordValue>> errorEvents =
Expand Down

0 comments on commit 5e74059

Please sign in to comment.