Commit graph

15 commits

Author SHA1 Message Date
Chris Kuehl
46774f6068 Only run tests under Python 3, fix random bitrot 2019-07-15 13:23:51 -07:00
Chris Kuehl
9374f3e664 Fix flake8 failures 2019-02-20 13:00:02 -08:00
Shengjing Zhu
0708f2779c Fix test on slow machines, increasing the sleep time
The original sleep time is too short, the tests failed on
architectures like mips*, armhf. I think it's because the
python interpreter can't start in 0.1s.

After increasing the sleep time, it passed on most architectures
which Debian supports.

The result can be found at:
https://buildd.debian.org/status/logs.php?pkg=dumb-init
(compare the build result of 1.2.2-1.1 and 1.2.2-1)

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
2019-02-19 00:08:34 +08:00
Chris Kuehl
4349c629f8 Fix more flaky tests 2016-08-01 09:16:28 -07:00
Chris Kuehl
23dbc512c2 Fix two flakey tests 2016-07-25 09:54:39 -07:00
Chris Kuehl
8269e190f1 Be more generous with sleeps, add more test output on fail 2016-07-19 14:40:26 -07:00
Chris Kuehl
169727ba43 Clean up tests a bit 2016-06-17 12:47:34 -07:00
Chris Kuehl
b7aee39721 Fix incorrect error on bad exec when passing args 2016-05-28 02:03:19 -04:00
Chris Kuehl
316f6b0d93 Prefix output with [dumb-init] 2015-10-02 10:51:09 -07:00
Chris Kuehl
dd361496d1 tests/child_processes_test: fix py34 2015-09-29 10:54:20 -07:00
Chris Kuehl
d178fbaf52 Print better error message when exec fails 2015-09-29 10:49:08 -07:00
Chris Kuehl
a78ac8fe23 Exit nonzero if exec fails 2015-09-29 10:43:45 -07:00
Chris Kuehl
d59a190a5d Send TERM to all children when the main child exists in setsid mode 2015-09-16 20:00:15 -07:00
Chris Kuehl
e6fd9233cb Python test fixes for lucid 2015-09-11 17:24:18 -07:00
Chris Kuehl
e3d9f84d6f Rewrite tests in Python using pytest 2015-09-11 16:50:05 -07:00