Tests: ns_contexts: discarded events result in test failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 21 Sep 2020 21:24:50 +0000 (17:24 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 21 Sep 2020 21:24:50 +0000 (17:24 -0400)
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 <jeremie.galarneau@efficios.com>
Change-Id: Ie87583bb9bb9cdd813f80443231a65164ef67df1

tests/regression/ust/namespaces/test_ns_contexts

index c1c6a2ae6c0ef1b575431b43fba406d783e07acb..062146970185d8baafab162bb067dffe84cd7106 100755 (executable)
@@ -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
This page took 0.025872 seconds and 4 git commands to generate.