Skip to content

Comments

Add option to wait for a ready message before running h3spec test#14

Merged
chrisvest merged 1 commit intomainfrom
ready-message
May 20, 2025
Merged

Add option to wait for a ready message before running h3spec test#14
chrisvest merged 1 commit intomainfrom
ready-message

Conversation

@chrisvest
Copy link
Member

Motivation:
The millisecond delay might not be sufficiently reliable in some environments, and can also be wasteful in how long builds will wait to ensure reliable execution.

Modification:
Make it possible for the test to snoop on the System.out stream and look for a readiness message instead, as the signal to start running the test.

Result:
This should produce more reliable build executions.

Motivation:
The millisecond delay might not be sufficiently reliable in some environments, and can also be wasteful in how long builds will wait to ensure reliable execution.

Modification:
Make it possible for the test to snoop on the System.out stream and look for a readiness message instead, as the signal to start running the test.

Result:
This should produce more reliable build executions.
@chrisvest chrisvest requested a review from normanmaurer May 20, 2025 17:40
Copy link
Member

@normanmaurer normanmaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@chrisvest
Copy link
Member Author

Thanks, I'll merge this and then give the resulting SNAPSHOT build a try in the branch.

@chrisvest chrisvest merged commit 299890e into main May 20, 2025
2 checks passed
@chrisvest chrisvest deleted the ready-message branch May 20, 2025 18:26
chrisvest added a commit to chrisvest/netty that referenced this pull request May 20, 2025
Use netty/netty-incubator-h3spec-maven-plugin#14 to ensure that the test server is started before running the h3spec tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants