Tests: remove check for an empty chunk produced on destruction
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 11 Jun 2019 09:39:46 +0000 (05:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 20:39:13 +0000 (16:39 -0400)
commitd1912efefeba3f6d8adb684818e872fb5090bff1
treece0d55f72a39d2c3ae6fb22195b72852bcde2a2e
parentd367ba5493d6bcd2163989e051f1b0e8c7e19288
Tests: remove check for an empty chunk produced on destruction

Consider the following tracing scenario used by the rotation tests:
  - Start tracing
  - Rotate
  - Stop tracing
  - Rotate
  - Destroy

The session daemon used to produce 3 trace archives when this sequence
of operations occurred. Of course, the third archive would always be
empty as no events can be produced between a stop and a destroy
operation.

As this behaviour is thankfully no longer present, the chunk
validation logic of the test causes it to fail. This patch removes
this logic.

Moreover, since chunk IDs are now 0-based, the test is adjusted to
check for names accouting for this naming scheme.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/rotation/rotate_utils.sh
This page took 0.027834 seconds and 4 git commands to generate.