mirror of
https://github.com/pingcap/tla-plus.git
synced 2024-12-27 13:00:31 +08:00
15 lines
426 B
Plaintext
15 lines
426 B
Plaintext
--------------------------------- MODULE Test2 ---------------------------------
|
|
|
|
EXTENDS CollapseRollbacks, TLC
|
|
|
|
\* We use one table with 2 keys and 2 concurrent clients for TLC model checking.
|
|
\* These 2 clients have primary key 1 and 2 respectively.
|
|
|
|
CONSTANTS c1, c2
|
|
|
|
Key == {1, 2}
|
|
Client == {c1, c2}
|
|
ClientPrimaryKey == c1 :> 1 @@ c2 :> 2
|
|
|
|
================================================================================
|