Skip to content

Commit 5e7e6e6

Browse files
committed
Revert changes on safe highway
1 parent 1b2466b commit 5e7e6e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_highway_entry.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_highway_entry_safe(get_car_id):
111111
client.loop_start()
112112

113113
# Wait for MQTT connection to be fully established
114-
time.sleep(0.3)
114+
time.sleep(0.1)
115115

116116
with open(ROADS_DIR / "highway.json") as f:
117117
highway_route = json.load(f)
@@ -155,12 +155,11 @@ def test_highway_entry_safe(get_car_id):
155155

156156
time.sleep(0.05)
157157

158-
time.sleep(2) # Wait for detection and alert processing
158+
time.sleep(1) # Wait for detection and alert processing
159159
client.loop_stop()
160160

161161
safe_alerts = [a for a in ALERTS if a.get("status") == "safe"]
162162

163-
164163
assert len(safe_alerts) > 0, f"Expected safe alert but got: {ALERTS}"
165164

166165

0 commit comments

Comments
 (0)