Add a new function to wait for arnied to be ready
authorSamir Aguiar <samir.aguiar@intra2net.com>
Thu, 12 Aug 2021 12:54:14 +0000 (09:54 -0300)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Fri, 10 Sep 2021 11:57:58 +0000 (13:57 +0200)
commitf1ca396453350e1c592463e0d965ddc5d325d186
treec0f373f1d4b747f58fc68ea6af0b241d5c49bda3
parentd6d4904f37c665cf3e8d666191a0b7fd0f59318f
Add a new function to wait for arnied to be ready

Usually code depending on arnied checks whether its process is running
before proceeding, which can lead to a race condition when it is not
yet fully started. The new function makes use of a novel CLI option
in the arnied helper that blocks execution until arnied is indeed
ready to be used.
src/arnied_wrapper.py
test/test_arnied_wrapper.py