Fix: tests: metadata presence on relayd is not deterministic
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 11 Dec 2019 20:58:58 +0000 (15:58 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 13 Dec 2019 20:06:06 +0000 (15:06 -0500)
commita648b489f7a1f8ab2505c4139ba14a6442d08675
tree5de70c24e4556b59a76b23b4987e857dd227d73b
parent9ad83bb682456e2130e0cf29fc1ed4b0d7a815db
Fix: tests: metadata presence on relayd is not deterministic

There is no synchronization point guaranteeing the presence of metadata on
lttng-relayd side when the live metadata request is done. It must be
present at some point in the future but might not be at the moment we
perform the request.

Add a retry phase to this step. It must succeed in the future.

Not sure how this test was never marked as flaky.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I033005c6a228013e699c74d8e8faafcb3272dd98
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/live/live_test.c
This page took 0.032979 seconds and 4 git commands to generate.