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, 25 Jul 2019 19:51:46 +0000 (15:51 -0400)
commit7304cc2e1edc7980831ea2e95bd7047f4dcc22f0
treed0cb8c6e2a2bebe1b777e885cdd7cf3daef4d172
parent0d88e04674ead21c741c6f4ed7fadf666c5e7bce
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.027101 seconds and 5 git commands to generate.