projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: container-wrapper: size container operation can throw
[lttng-tools.git]
/
tests
/
regression
/
tools
/
rotation
/
test_kernel
diff --git
a/tests/regression/tools/rotation/test_kernel
b/tests/regression/tools/rotation/test_kernel
index 62bc5c33d7fda975b4a6294b4ade05d395e398c9..817019036f27e8f77590e1b7d7a8cfbe024c6a9d 100755
(executable)
--- a/
tests/regression/tools/rotation/test_kernel
+++ b/
tests/regression/tools/rotation/test_kernel
@@
-10,7
+10,7
@@
CURDIR=$(dirname $0)/
TESTDIR=$CURDIR/../../..
EVENT_NAME="lttng_test_filter_event"
TESTDIR=$CURDIR/../../..
EVENT_NAME="lttng_test_filter_event"
-TRACE_PATH=$(mktemp -
-tmpdir -
d -t tmp.rotation_kernel_tracing.XXXXXX)
+TRACE_PATH=$(mktemp -d -t tmp.rotation_kernel_tracing.XXXXXX)
NUM_TESTS=66
NUM_TESTS=66
@@
-96,7
+96,8
@@
function test_kernel_local_size ()
lttng_enable_rotation_size_ok $SESSION_NAME $size_threshold
start_lttng_tracing_ok $SESSION_NAME
lttng_enable_rotation_size_ok $SESSION_NAME $size_threshold
start_lttng_tracing_ok $SESSION_NAME
- trace_until_n_archives produce_n_events "$TRACE_PATH" 5
+ # Cutoff at 100 times the expected size
+ trace_until_n_archives produce_n_events "$TRACE_PATH" 5 $((5 * 100 * size_threshold))
destroy_lttng_session_ok $SESSION_NAME
}
destroy_lttng_session_ok $SESSION_NAME
}
This page took
0.022921 seconds
and
4
git commands to generate.