mirror of
https://git.proxmox.com/git/systemd
synced 2025-12-28 07:37:01 +00:00
debian/tests/boot-and-services: Increase timeouts of test_bash_crash from 5 to 50 seconds
This commit is contained in:
parent
c59ff5c9ec
commit
8637e1162b
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -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
|
||||
|
||||
|
||||
4
debian/tests/boot-and-services
vendored
4
debian/tests/boot-and-services
vendored
@ -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')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user