Open ronawho opened 7 years ago
Here's some off the end:
parallel/taskPool/figueroa/TotalThreads.chpl
** It's using sleep to wait for tasks to run. It's testing that some of the tasks end up stuck on single
s, so can't synchronize with them directly.
performance/sungeun/multilocale/syncsingle.chpl
** I don't know what the sleep is doing. But it's config const
'd out as start_test will run it.
release/examples/primers/learnChapelInYMinutes.chpl
sleep(1) so the user can see the lines of output show up one at a time.
sleep(2) I think is so the user can see that the tasks are serializing on the lock$
.
*** I think this loop can let three tasks into the two-task-limit critical section
release/examples/primers/procedures.chpl
** Using sleep I think so that the user can see the lines of output show up one at a time.
release/examples/primers/timers.chpl
** Demonstrates that Timer
s and getCurrentTime()
show a 1 second delta across a sleep(1)
studies/hpcc/HPL/vass/utils.chpl
** Only VTimerSelfTest()
calls sleep, and that function is not referenced under studies/hpcc
studies/shootout/chameneos-redux/hannah/chameneos-redux-v1.chpl
** The only call to sleep is commented out.
trivial/deitz/other/timer{1,2}.chpl
** Testing Timer
users/ferguson/bug-zhao.chpl
** Used in a function countdown(seconds: int)
to produce a second-by-second countdown
*** The function is never called.
users/npadmana/mpi/deprecated/simple_mixed_works.chpl
** Only use of sleep() is commented out.
users/npadmana/mpi/ring.chpl
** This might be a "used for synchronization" sleep
users/vass/domain_with_on-all.chpl
** Using sleep to wait for tasks to finish.
There are a number of tests that use sleep in our test suite.
It'd be ideal to get rid of as many sleeps as possible for a few reasons
I wonder if we should have some smoke test that looks for sleeps in test/. We'd need some way to mark a test as being allowed to have a sleep in it though
Here's (way too long of) a list of tests that sleep (or more accurately have text "sleep" in them somewhere), please check them off as they are fixed or as you discover that I lied and they don't actually sleep:
Here's a list of tests that are allowed to have a sleep (please list a reason after the test name)