We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b2466b commit 5e7e6e6Copy full SHA for 5e7e6e6
tests/test_highway_entry.py
@@ -111,7 +111,7 @@ def test_highway_entry_safe(get_car_id):
111
client.loop_start()
112
113
# Wait for MQTT connection to be fully established
114
- time.sleep(0.3)
+ time.sleep(0.1)
115
116
with open(ROADS_DIR / "highway.json") as f:
117
highway_route = json.load(f)
@@ -155,12 +155,11 @@ def test_highway_entry_safe(get_car_id):
155
156
time.sleep(0.05)
157
158
- time.sleep(2) # Wait for detection and alert processing
+ time.sleep(1) # Wait for detection and alert processing
159
client.loop_stop()
160
161
safe_alerts = [a for a in ALERTS if a.get("status") == "safe"]
162
163
-
164
assert len(safe_alerts) > 0, f"Expected safe alert but got: {ALERTS}"
165
166
0 commit comments