Skip to content

The agent that grows with you

test(connectors): assert only on _DeadlockError in the import race test

kshitijk4poorec07cbee62ff
diff --git a/tests/tools/test_connectors_import_deadlock.py b/tests/tools/test_connectors_import_deadlock.py
index 2d056183167..d1631adcc96 100644
--- a/tests/tools/test_connectors_import_deadlock.py
+++ b/tests/tools/test_connectors_import_deadlock.py
@@ -52,7 +52,7 @@ for t in threads:
for t in threads:
t.join(timeout=120)
print("alive", sum(1 for t in threads if t.is_alive()))
-print("errors", [e for e in errors if e[1] != "KeyError"])
+print("errors", [e for e in errors if e[1] == "_DeadlockError"])
"""