Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: increase timeouts for ViteWebsocketConnection tests #21093

Merged

Conversation

mcollovati
Copy link
Collaborator

The JDK HttpServer uses the common Fork Join pool to fulfill callbacks connected to async operations, like the websocket connection handshake. On GH actions, sometimes the callbacks are executed with a delay of a couple of seconds, most likely caused by many tests running in parallel on the same JVM and concurrently submitting mid/long running tasks to the common pool. This change increases the ViteWebsocketConnection timeouts to take care of such delays.

The JDK HttpServer uses the common Fork Join pool to fullfill callbacks
connected to async operations, like the websocket connection handshake.
On GH actions sometimes the callbacks are executed with a delay of a couple
of seconds, most likely caused by many tests running in parallel on the same
JVM and concurently submitting mid/long running tasks to the common pool.
This change increases the ViteWebsocketConnection timeouts to take
care of such delays.
Copy link

github-actions bot commented Mar 6, 2025

Test Results

1 169 files  + 43  1 169 suites  +43   1h 14m 47s ⏱️ +16s
7 779 tests +305  7 722 ✅ +307  57 💤 ±0  0 ❌  - 2 
8 151 runs  +306  8 085 ✅ +308  66 💤 ±0  0 ❌  - 2 

Results for commit f1fcab4. ± Comparison against base commit 2689930.

@mcollovati mcollovati merged commit 2a734da into main Mar 6, 2025
25 of 26 checks passed
@mcollovati mcollovati deleted the test/vitewebsocketconnectiontest-increase-timeouts branch March 6, 2025 12:59
mcollovati added a commit that referenced this pull request Mar 6, 2025
The JDK HttpServer uses the common Fork Join pool to fullfill callbacks
connected to async operations, like the websocket connection handshake.
On GH actions sometimes the callbacks are executed with a delay of a couple
of seconds, most likely caused by many tests running in parallel on the same
JVM and concurently submitting mid/long running tasks to the common pool.
This change increases the ViteWebsocketConnection timeouts to take
care of such delays.
mcollovati added a commit that referenced this pull request Mar 6, 2025
The JDK HttpServer uses the common Fork Join pool to fullfill callbacks
connected to async operations, like the websocket connection handshake.
On GH actions sometimes the callbacks are executed with a delay of a couple
of seconds, most likely caused by many tests running in parallel on the same
JVM and concurently submitting mid/long running tasks to the common pool.
This change increases the ViteWebsocketConnection timeouts to take
care of such delays.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants