Skip to content

Commit

Permalink
TLC will report a bogus violation of the property TraceMatched if TLC…
Browse files Browse the repository at this point in the history
… runs with more than a single worker.
  • Loading branch information
lemmy committed Aug 17, 2023
1 parent d8bdc3c commit 5ee128f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tla/Traceccfraft.tla
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ TraceView ==

-------------------------------------------------------------------------------------

\* The property TraceMatched below will be violated if TLC runs with more than a single worker.
ASSUME TLCGet("config").worker = 1

TraceMatched ==
\* We force TLC to check TraceMatched as a temporal property because TLC checks temporal
\* properties after generating all successor states of the current state, unlike
Expand Down

0 comments on commit 5ee128f

Please sign in to comment.