Set FISH_TEST_NO_CURSOR_POSITION_QUERY in pexpect tests

This was causing query timeouts with high parallelism in the tests.
This commit is contained in:
ridiculousfish
2025-11-08 18:28:41 -08:00
parent 9d3acbdd82
commit b4fc5160ba

View File

@@ -181,6 +181,8 @@ class SpawnedProc(object):
self.start_time = None
if "FISH_PEXPECT_TESTS_RUNNING" not in env:
env["FISH_PEXPECT_TESTS_RUNNING"] = "1"
if "FISH_TEST_NO_CURSOR_POSITION_QUERY" not in env:
env["FISH_TEST_NO_CURSOR_POSITION_QUERY"] = "1"
self.spawn = pexpect.spawn(
exe_path, env=env, encoding="utf-8", timeout=timeout, **kwargs
)