summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/stubs/sleep
Commit message (Collapse)AuthorAgeFilesLines
* Tests - eventscripts - stop timeouts waiting for backgrounded testparmMartin Schwenke2011-08-301-1/+3
| | | | | | | | | | | Not sleeping at all speeds up the tests. However, it can also cause timeouts. Therefore, every time sleep is run we force the stub to do a short 0.1s sleep instead of whatever is specified. This should be enough to avoid races. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 59a1d54bcc15058f7b69e8596b32b26427a3ae57)
* Tests - add eventscripts testing stub for sleep command.Martin Schwenke2011-08-301-0/+7
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit aedff41ee1df0a1a573476844993fa8eda2f34bf)