From: Jérémie Galarneau Date: Thu, 16 Jul 2020 21:17:08 +0000 (-0400) Subject: Tests: add a "new metadata after clear" test X-Git-Tag: v2.13.0-rc1~594 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=bc3c79aee8149b3e983d38bae4bf455dad927296;hp=bc3c79aee8149b3e983d38bae4bf455dad927296 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 Change-Id: Ie6057577e3ee8a7c3ed1a84941308d10d372c16c ---