]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: wait for coredump to appear before parsing
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 30 May 2025 21:08:39 +0000 (22:08 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 31 May 2025 01:01:30 +0000 (10:01 +0900)
commit703fbb0bba7f1a1b46342d6efedda30e51d46135
treea8ed23a8e2c4c52e5ef8d055caa7aa140c8da368
parent3ec92f2f7419ce5c27422b3b2023b841cbe5bf90
test: wait for coredump to appear before parsing

A new core was added to the test, but the loop counter was not increased
to wait for it, so the test races against systemd-coredump's processing.

This failed at least once in debci:

8015s [   32.227813] TEST-87-AUX-UTILS-VM.sh[1038]: + coredumpctl info COREDUMP_TIMESTAMP=1679509902000000
8015s [   32.228684] TEST-87-AUX-UTILS-VM.sh[1723]: No coredumps found.

Follow-up for 0c49e0049b7665bb7769a13ef346fef92e1ad4d6

Fixes https://github.com/systemd/systemd/issues/37666
test/units/TEST-87-AUX-UTILS-VM.coredump.sh