From: Jérémie Galarneau Date: Mon, 21 Sep 2020 21:24:50 +0000 (-0400) Subject: Tests: ns_contexts: discarded events result in test failure X-Git-Tag: v2.13.0-rc1~467 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3a4595c2469472dee1656cde5f8882c2123efd3c;p=lttng-tools.git Tests: ns_contexts: discarded events result in test failure A follow-up change makes all events emited by gen-ust-events a bit larger, which causes them to no longer fit in the default channel configuration's buffers. This causes the test to fail occasionnaly when the consumer daemon fails to consume the packets fast enough to leave room in the buffers for new events. The test doesn't need to produce 10,000 events; reducing to 1,000 produced events makes no material difference and works around the problem. Signed-off-by: Jérémie Galarneau Change-Id: Ie87583bb9bb9cdd813f80443231a65164ef67df1 --- diff --git a/tests/regression/ust/namespaces/test_ns_contexts b/tests/regression/ust/namespaces/test_ns_contexts index c1c6a2ae6..062146970 100755 --- a/tests/regression/ust/namespaces/test_ns_contexts +++ b/tests/regression/ust/namespaces/test_ns_contexts @@ -12,7 +12,7 @@ TESTDIR=$CURDIR/../../.. TESTAPP_PATH="$TESTDIR/utils/testapp" TESTAPP_NAME="gen-ust-events" TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME" -NUM_EVENT=10000 +NUM_EVENT=1000 EVENT_NAME="tp:tptest" TESTS_PER_NS=13