Tests: add a "new metadata after clear" test
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 16 Jul 2020 21:17:08 +0000 (17:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 17 Jul 2020 18:32:37 +0000 (14:32 -0400)
commit60ef7bf796f47dc526c44656724f1994b1745e89
tree000acaea8b3ab5b51ac1180632303ac5bae2b7fe
parentb39dbdc16addc6d3998556d5c547bd91cdb9a5a1
Tests: add a "new metadata after clear" test

Add a test that validates that the relay daemon performs a
metadata stream rotation after a clear.

The test enables a single event and launches a test application to
trigger it 10 times. Once the 10 event occurrences have been seen
by the live client, the session is cleared.

Then, two new events (statedump start and end) are enabled. This causes
new event descriptions to be appended to the metadata stream.

After a clear, the relay daemon should rotate the metadata stream
and send the new contents to the client. The client will then
be able to decode the statedump start/end events.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ie6057577e3ee8a7c3ed1a84941308d10d372c16c
tests/regression/tools/clear/test_ust
tests/utils/utils.sh
This page took 0.026341 seconds and 4 git commands to generate.