Skip to content

Commit 77da3c5

Browse files
committed
bugfix in test
1 parent 361879d commit 77da3c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/scl/simulation/test_channel.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ TEST_CASE("SimulatedChannel recv timeout") {
115115
tp->send(100ms, id.flip(), pkt);
116116
ctx.getContext(1).addEvent<BeginEvent>(100ms, "");
117117

118+
ctx.getContext(0).addEvent<BeginEvent>(0ms, "");
119+
118120
// should not time out, receiving time should be ~100ms
119121
auto opt_rpkt = srt.run(channel->recv(200ms));
120122

0 commit comments

Comments
 (0)