Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
utkinis committed Oct 5, 2023
1 parent 0d17d8d commit 8fb6c0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts_future_API/test_pipeline.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ using FastIce.Utils

function main()
pipes = [Pipeline() for _ in 1:6]
for iter in 1:100
for iter in 1:10
for ip in eachindex(pipes)
put!(pipes[ip]) do
sleep(1/60)
sleep(0.001)
println(" inside pipeline #$(ip)!")
end
end
sleep(1/10)
sleep(0.01)
println("outside, iter #$(iter)!")
take!.(pipes)
println()
Expand Down

0 comments on commit 8fb6c0f

Please sign in to comment.