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, 20 Dec 2019 00:23:21 +0000 (19:23 -0500)
commit3558e7eddc2cd153cc91efbd4c4eba6e12be0f9e
treec8040be0438348408177f3131192c2e80fd78243
parent70e148160c9f943466ec0a0d7bebb61466fea7d0
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.025037 seconds and 4 git commands to generate.