From 45166a3dda1b2c422575a4ddc27764ad92ae1d68 Mon Sep 17 00:00:00 2001 From: Kayla Firestack Date: Thu, 9 Jan 2025 09:21:43 -0500 Subject: [PATCH] fix:test(ex/mqtt-tests): set assert receive timeout to 1000ms for MQTT tests --- test/test_helper.exs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_helper.exs b/test/test_helper.exs index 824788180..39f0f4ade 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -6,6 +6,9 @@ ExUnit.start( capture_log: true, + # MQTT Tests tend to take longer than 100ms, so we extend the assert receive + # for those test failures + assert_receive_timeout: 1000, exclude: [ # By default for local development, exclude tests that rely on # non-essential external services, e.g., MQTT tests