From 3a4595c2469472dee1656cde5f8882c2123efd3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 21 Sep 2020 17:24:50 -0400 Subject: [PATCH] Tests: ns_contexts: discarded events result in test failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/regression/ust/namespaces/test_ns_contexts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1