Skip to content

Commit

Permalink
Add check to avoid empty set of running consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jan 22, 2024
1 parent 36a7041 commit 36b5d92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/mbt/model/ccv_model.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,8 @@ module ccv_model {
}

action nondetKeyAssignment =
any {
all {
runningConsumers.size() > 0,
nondet node = oneOf(nodes)
nondet consumerAddr = oneOf(consumerAddresses)
nondet consumer = oneOf(runningConsumers)
Expand Down

0 comments on commit 36b5d92

Please sign in to comment.