Skip to content

Commit

Permalink
Merge pull request #1907 from lf-lang/test-clock-synchronization
Browse files Browse the repository at this point in the history
Add smoke test for clock synchronization
  • Loading branch information
lhstrh authored Jul 21, 2023
2 parents 1a7c80b + f88d452 commit eb0a723
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/c/reactor-c
Submodule reactor-c updated 1 files
+7 −0 core/CMakeLists.txt
6 changes: 5 additions & 1 deletion test/C/src/federated/DistributedCountDecentralized.lf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
*/
target C {
timeout: 5 sec,
coordination: decentralized
coordination: decentralized,
clock-sync: on,
clock-sync-options: {
local-federates-on: true
}
}

import Count from "../lib/Count.lf"
Expand Down

0 comments on commit eb0a723

Please sign in to comment.