Skip to content

Commit d66d73e

Browse files
committed
more windows ci itest/atest tweaks
1 parent 39c65ba commit d66d73e

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/job.test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,13 @@ jobs:
232232
Run acceptance tests until first failure, ignore failure (epoch: ${{ matrix.epoch }})
233233
env:
234234
ROBOT_OPTIONS: --exitonfailure
235-
run: ${{ env.PIXI_RUN }} --skip-deps atest-${{ matrix.epoch }} || echo "will retry"
235+
run: ${{ env.PIXI_RUN }} --skip-deps atest-${{ matrix.epoch }} --nostatusrc
236236
- name: |-
237237
Rerun any failed acceptance tests, ignore failure (epoch: ${{ matrix.epoch }})
238238
env:
239239
ATEST_ATTEMPT: 1
240240
ATEST_RETRIES: 1
241-
run: ${{ env.PIXI_RUN }} --skip-deps atest-${{ matrix.epoch }} || echo "will retry"
241+
run: ${{ env.PIXI_RUN }} --skip-deps atest-${{ matrix.epoch }} --nostatusrc
242242
- name: |-
243243
Re-rerun any failed acceptance tests (epoch: ${{ matrix.epoch }})
244244
env:
@@ -253,5 +253,5 @@ jobs:
253253
uses: actions/upload-artifact@v4
254254
with:
255255
name: |-
256-
jplsp-${{ github.run_number }}-report-${{ matrix.epoch }}-${{ matrix.os }}-${{ matrix.vm }}
256+
jplsp-${{ github.run_number }}-atest-${{ matrix.epoch }}-${{ matrix.os }}-${{ matrix.vm }}
257257
path: ./build/reports

atest/_resources/Keywords.resource

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Setup Server and Browser
3939
IF ${wait_for_lsp_log}
4040
Wait Until File Contains ${LAB LOG}
4141
... The following Language Servers will be available
42+
... retries=60
4243
ELSE
4344
# Jupyter Server X.X.X is running at:
4445
Wait Until File Contains ${LAB LOG}

python_packages/jupyter_lsp/jupyter_lsp/tests/test_session.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ async def test_start_known(known_server, handlers, jsonrpc_init_msg):
4545

4646
await ws_handler.on_message(jsonrpc_init_msg)
4747

48+
timeout = 120 if known_server == "julia-language-server" else 20
49+
4850
try:
49-
await asyncio.wait_for(
50-
ws_handler._messages_wrote.get(),
51-
120 if known_server == "julia-language-server" else 20,
52-
)
51+
await asyncio.wait_for(ws_handler._messages_wrote.get(), timeout)
5352
ws_handler._messages_wrote.task_done()
5453
finally:
5554
ws_handler.on_close()
@@ -58,7 +57,6 @@ async def test_start_known(known_server, handlers, jsonrpc_init_msg):
5857
assert not session.process
5958

6059
await assert_status_set(handler, {"stopped"}, known_server)
61-
await assert_status_set(handler, {"stopped", "not_started"})
6260

6361

6462
@pytest.mark.asyncio

0 commit comments

Comments
 (0)