Shard the eager_sync_SUITE by case

This suite contains only one group, but is long enough to warrant
sharding. This is probably a bit of a time penalty in absolute terms
because init_per_suite and init_per_group re-run in each shard.
This commit is contained in:
Philip Kuryloski 2021-03-31 15:47:36 +02:00
parent 56ebdad87b
commit 0caeb65d04
2 changed files with 15 additions and 0 deletions

View File

@ -415,6 +415,15 @@ rabbitmq_integration_suite(
":sync_detection_SUITE_beam_files",
],
suite_name = "eager_sync_SUITE",
groups = {
"non_parallel_tests": [
"eager_sync",
"eager_sync_cancel",
"eager_sync_auto",
"eager_sync_auto_on_policy_change",
"eager_sync_requeue",
],
},
deps = DEPS,
)

View File

@ -32,6 +32,12 @@ groups() ->
]}
].
suite() ->
[
%% If a test hangs, no need to wait for 30 minutes.
{timetrap, {minutes, 15}}
].
%% -------------------------------------------------------------------
%% Testsuite setup/teardown.
%% -------------------------------------------------------------------