Skip to content

Commit 3432dcb

Browse files
committed
Shard shared_SUITE
such that MQTT and WebMQTT tests of the shared_SUITE can run in parallel. Before this commit, the shared_SUITE runs 14 minutes, after this commit the shared_SUITE runs 4 minutes in GitHub actions.
1 parent 146570d commit 3432dcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/rabbitmq_mqtt/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ rabbitmq_integration_suite(
225225

226226
rabbitmq_integration_suite(
227227
name = "shared_SUITE",
228+
shard_count = 6,
228229
size = "large",
229-
timeout = "eternal",
230230
runtime_deps = [
231231
"@emqtt//:erlang_app",
232232
"//deps/rabbitmq_management_agent:erlang_app",

deps/rabbitmq_mqtt/src/rabbit_mqtt_processor.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ process_connect(
166166
peer_port = PeerPort,
167167
send_fun = SendFun,
168168
exchange = rabbit_misc:r(VHost, exchange, rabbit_mqtt_util:env(exchange)),
169-
retainer_pid = rabbit_mqtt_retainer_sup:child_for_vhost(VHost),
169+
retainer_pid = rabbit_mqtt_retainer_sup:start_child_for_vhost(VHost),
170170
vhost = VHost,
171171
client_id = ClientId,
172172
will_msg = make_will_msg(Packet)},

0 commit comments

Comments
 (0)