]> git.ipfire.org Git - thirdparty/systemd.git/commit - test/networkd-test.py
test: retry checking for transient hostname in hostnamectl (#4769)
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 30 Nov 2016 07:02:49 +0000 (08:02 +0100)
committerGitHub <noreply@github.com>
Wed, 30 Nov 2016 07:02:49 +0000 (08:02 +0100)
commit2926b130b69651539a90e866db43466b9b0ccfc5
tree6e3e7c1225c39b555c23b0375d80d534d153a5f0
parent97506e85e2cf8c726939a872239698d5279a1cfc
test: retry checking for transient hostname in hostnamectl (#4769)

Sometimes setting the transient hostname does not happen synchronously, so
retry up to five times. It is not yet clear whether this is legitimate
behaviour or an underlying bug, but this will at least show whether the wrong
transient hostname is just a race condition or permanently wrong.

Fixes #4753
test/networkd-test.py