Skip to content

SSL test: Don't depend on property value in test#16346

Merged
normanmaurer merged 1 commit into
4.2from
no_property_test
Feb 25, 2026
Merged

SSL test: Don't depend on property value in test#16346
normanmaurer merged 1 commit into
4.2from
no_property_test

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

We should not depend on modify a system property in a test when running tests concurrently as it might fail due races.

Modifications:

Just override the method in SslMasterKeyHandler and not depend on the property at all.

Result:

Less flaky tests

Motivation:

We should not depend on modify a system property in a test when running tests concurrently as it might fail due races.

Modifications:

Just override the method in SslMasterKeyHandler and not depend on the property at all.

Result:

Less flaky tests
@normanmaurer

Copy link
Copy Markdown
Member Author

This is needed as we now run tests concurrently: f0fe411

@normanmaurer normanmaurer added this to the 4.2.11.Final milestone Feb 24, 2026
@normanmaurer normanmaurer added needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Feb 24, 2026
@normanmaurer normanmaurer merged commit 1cbcc0b into 4.2 Feb 25, 2026
51 of 56 checks passed
@normanmaurer normanmaurer deleted the no_property_test branch February 25, 2026 09:26
@netty-project-bot

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.

@netty-project-bot

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 4.1.

normanmaurer added a commit that referenced this pull request Feb 25, 2026
Motivation:

We should not depend on modify a system property in a test when running
tests concurrently as it might fail due races.

Modifications:

Just override the method in SslMasterKeyHandler and not depend on the
property at all.

Result:

Less flaky tests
normanmaurer added a commit that referenced this pull request Feb 25, 2026
Motivation:

We should not depend on modify a system property in a test when running
tests concurrently as it might fail due races.

Modifications:

Just override the method in SslMasterKeyHandler and not depend on the
property at all.

Result:

Less flaky tests
@chrisvest chrisvest removed needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Feb 25, 2026
chrisvest pushed a commit that referenced this pull request Feb 25, 2026
Motivation:

We should not depend on modify a system property in a test when running
tests concurrently as it might fail due races.

Modifications:

Just override the method in SslMasterKeyHandler and not depend on the
property at all.

Result:

Less flaky tests
chrisvest pushed a commit that referenced this pull request Feb 26, 2026
Motivation:

We should not depend on modify a system property in a test when running
tests concurrently as it might fail due races.

Modifications:

Just override the method in SslMasterKeyHandler and not depend on the
property at all.

Result:

Less flaky 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.

3 participants