Skip to content

Commit

Permalink
relax deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnrd committed May 11, 2023
1 parent f7261ea commit aae5cae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/Cpp/src/enclave/EnclaveSparseUpstreamEvents.lf
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// The purpose of this test is to check that the downstream enclave can
// progress, even if there are only sparse upstream events.
target Cpp {
timeout: 6 s,
timeout: 12 s,
workers: 1
}

reactor Src {
timer t(0, 2 s)
reactor Src {s
timer t(0, 4 s)
output out: int
state counter: int = 0

Expand Down Expand Up @@ -36,7 +36,7 @@ reactor Sink {
}
=}

reaction(t) {= reactor::log::Info() << "Tick"; =} deadline(1 s) {=
reaction(t) {= reactor::log::Info() << "Tick"; =} deadline(2 s) {=
reactor::log::Error() << "Deadline violated.";
exit(2);
=}
Expand Down

0 comments on commit aae5cae

Please sign in to comment.