Fix flakey test

This commit is contained in:
Rich Chiodo false 2025-12-12 14:37:59 -08:00
parent c08e0a5555
commit f01db1b927

View file

@ -102,7 +102,7 @@ def test_step_multi_threads(pyfile, target, run, resume):
stop = session.wait_for_stop()
threads = session.request("threads")
assert len(threads["threads"]) == 3
assert len(threads["threads"]) >= 3
thread_name_to_id = {t["name"]: t["id"] for t in threads["threads"]}
assert stop.thread_id == thread_name_to_id["thread1"]