debian/tests/boot-and-services: Increase timeouts of test_bash_crash from 5 to 50 seconds

This commit is contained in:
Martin Pitt 2016-02-18 15:32:58 +01:00
parent c59ff5c9ec
commit 8637e1162b
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View File

@ -7,6 +7,8 @@ systemd (229-2) UNRELEASED; urgency=medium
(See #699554)
* debian/systemd.postinst: Only try to enable tmp.mount if we actually
copied it to /etc. Don't try to enable a generated unit. (LP: #1545707)
* debian/tests/boot-and-services: Increase timeouts of test_bash_crash from
5 to 50 seconds.
-- Martin Pitt <mpitt@debian.org> Sun, 14 Feb 2016 13:15:55 +0100

View File

@ -433,7 +433,7 @@ class CoredumpTest(unittest.TestCase):
cores = glob('/var/lib/systemd/coredump/core.bash.*')
if cores:
break
time.sleep(0.1)
time.sleep(1)
self.assertNotEqual(cores, [])
self.assertEqual(glob('/tmp/core*'), [])
@ -443,7 +443,7 @@ class CoredumpTest(unittest.TestCase):
if re.search(b'Process.*bash.*dumped core', journal) and \
re.search(b'#[0-9] .*bash', journal):
break
time.sleep(0.1)
time.sleep(1)
self.assertRegex(journal, b'Process.*bash.*dumped core')
self.assertIn(b'Stack trace', journal)
self.assertRegex(journal, b'#[0-9] .*bash')