Skip to content

Commit

Permalink
fixes to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ba2tro committed Dec 23, 2023
1 parent bd070e4 commit c9f691c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_entanglement_tracker.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ using Random
# global_logger(logger)
# same but this time with an entanglement tracker

for i in 1:2
n = 6
for i in 1:1000
n = rand(1:30)
net = RegisterNet([Register(j+3) for j in 1:n])
sim = get_time_tracker(net)
for j in vertices(net)
Expand Down
1 change: 1 addition & 0 deletions test/test_messagebuffer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env = get_time_tracker(net);
mb = messagebuffer(net, 2)
@yield wait(mb)
msg = querydelete!(mb, :second_tag, ❓, ❓)
@yield timeout(env, 1.0)
if isnothing(msg)
#println("nothing")
else
Expand Down

0 comments on commit c9f691c

Please sign in to comment.