Skip to content

Commit b09c162

Browse files
committed
try another method
1 parent 2fd52f7 commit b09c162

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

jupyter_server_terminals/test/test_terminal.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ def terminal_path(tmp_path):
2121
CULL_TIMEOUT = 10
2222
CULL_INTERVAL = 3
2323

24-
if os.name == 'nt':
25-
CULL_TIMEOUT = 20
26-
2724

2825
@pytest.fixture
2926
def jp_server_config():
@@ -162,7 +159,7 @@ async def test_culling(jp_server_config, jp_fetch, jp_cleanup_subprocesses):
162159
last_activity = term["last_activity"]
163160

164161
culled = False
165-
for i in range(CULL_TIMEOUT + CULL_INTERVAL):
162+
for i in range(CULL_TIMEOUT + CULL_INTERVAL * 2):
166163
try:
167164
resp = await jp_fetch(
168165
"api",

0 commit comments

Comments
 (0)