Tests fix: tracefile-size tests assume PAGE_SIZE subbuffers
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 May 2017 22:23:25 +0000 (18:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 May 2017 22:24:06 +0000 (18:24 -0400)
The new subbuffer default sizes break this test as it assumes
that the default size of subbuffers is of 1 page.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/tracefile-limits/test_tracefile_size

index 10bd077b5a54d4800e5dd8663bc7ef42f5104bbe..3dddbe6131eb385f4784d21b42a6f81398829297 100755 (executable)
@@ -48,6 +48,7 @@ function enable_lttng_channel_size_limit ()
 
        $TESTDIR/../src/bin/lttng/$LTTNG_BIN enable-channel \
            -u $channel_name -s $sess_name --buffers-pid \
+           --subbuf-size=$PAGE_SIZE \
            -C $tracefile_size_limit >/dev/null 2>&1
 
        ok $? "$test_name"
This page took 0.02612 seconds and 4 git commands to generate.