Skip to content

Commit e6a48e4

Browse files
committed
Reduce the load of the bridge_disconnect test to alleviate flakiness
1 parent 3080a1d commit e6a48e4

File tree

1 file changed

+2
-2
lines changed
  • crates/extensions/tedge_mqtt_bridge/tests

1 file changed

+2
-2
lines changed

crates/extensions/tedge_mqtt_bridge/tests/bridge.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async fn bridge_disconnect_while_sending() {
189189
let poll_local = EventPoller::run_in_bg(ev_local);
190190

191191
// Verify messages are forwarded from cloud to local
192-
for i in 1..10000 {
192+
for i in 1..1000 {
193193
local
194194
.publish(
195195
"c8y/s/us",
@@ -202,7 +202,7 @@ async fn bridge_disconnect_while_sending() {
202202
}
203203
cloud_proxy.interrupt_connections();
204204
let _ev_cloud = EventPoller::run_in_bg(ev_cloud);
205-
for _ in 1..10000 {
205+
for _ in 1..1000 {
206206
local
207207
.publish(
208208
"c8y/s/us",

0 commit comments

Comments
 (0)