]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: give systemd chance to actually start the unit
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 3 Feb 2020 12:07:45 +0000 (13:07 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 8 Feb 2020 10:38:24 +0000 (11:38 +0100)
commit5f04f4e470379f461b9f0f3e4f75e55cfc055536
tree3772700f206ae4ff05ccdfcd456740468b49b2a2
parente2c1ddcc492f7d94fd0bdaec719916c62787be44
test: give systemd chance to actually start the unit

In certain cases the expected enqueue-start-replace-continue
sequence would end up as enqueue-replace-start-continue which causes
unexpected fails even though the serialization/deserialization part
works as expected. As we can't use `--wait` in this case, let's give
sysetmd a second to actually start the unit before replacing it with
another one.

Also, switch from the single-letter test output to a bit verbose format.

Fixes: #14632
test/test-exec-deserialization.py