diff options
| author | Beniamino Galvani <bgalvani@redhat.com> | 2016-01-27 16:08:31 +0100 |
|---|---|---|
| committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-01-27 16:08:31 +0100 |
| commit | e7275fc9b5b02256cbcee50dab930e6f6ece4f5f (patch) | |
| tree | 3d35c13a71b1dd60995e1b1229b0091cb769d9eb | |
| parent | 1a3597529e6389f5b648fe11e95743d41c1fb4b1 (diff) | |
| download | NetworkManager-bg/bgo761146.tar.gz | |
core/tests: increase exit delay of child scriptbg/bgo761146
It was reported that the /general/nm_utils_kill_child test fails on
some architectures, with the child process terminating before the
first waitpid(). It's not entirely clear why this happens, but a too
short delay is one probable cause. Increase the value from 300ms to
1s, as this does not hurt anyway.
| -rw-r--r-- | src/tests/test-general-with-expect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test-general-with-expect.c b/src/tests/test-general-with-expect.c index 91f3f33619..1aa5bbf693 100644 --- a/src/tests/test-general-with-expect.c +++ b/src/tests/test-general-with-expect.c @@ -234,7 +234,7 @@ test_nm_utils_kill_child (void) char *argv1[] = { "sh", "-c", - "trap \"sleep 0.3; exit 10\" EXIT; " + "trap \"sleep 1; exit 10\" EXIT; " "sleep 100000; exit $? #" TEST_TOKEN, NULL, }; |
