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

Tests with @Rule still use JUnit 4 vintage #2605

Closed
wants to merge 53 commits into from

Conversation

schlosna
Copy link
Contributor

Before this PR

JUnit 5 excavator #2485 is stuck.
2093 tests complete on develop check task

After this PR

Merged origin/develop into this branch and updated tests still using @Rule to still use JUnit 4 vintage. This is a smaller change than #2495 that completely eradicates JUnit 4, so targeting this sooner to unblock excavator.

2093 tests complete on this branch's check task
==COMMIT_MSG==
Tests with @rule still use JUnit 4 vintage
==COMMIT_MSG==

Possible downsides?

svc-excavator-bot and others added 30 commits March 17, 2023 18:17
Report metrics when unusually large strings are parsed
InstrumentedJsonFactory sets the expected 'JSON' format name
Json parser string length metrics are tagged by format
Increase string-length observability thresholds
Upgrade Undertow to 2.2.24.Final
Interning introduces excessive contention
Add public JsonFactory factories to ObjectMappers
Use a TypeFactory backed by a Caffeine Cache
Add TypeFactory cache instrumentation
svc-excavator-bot and others added 22 commits April 8, 2023 03:51
#2595)

Opt out of the TypeFactory cache until we can resolve cache contention
…ing TypeFactories (#2597)

ObjectMappers.withDefaultModules(ObjectMapper) does not replace existing TypeFactories with state from registered modules
…2601)

Apply a large StreamReadConstraints maxStringLength to reduce friction in preparation for jackson 2.15 adoption
Opt out of canonicalization in Conjure JsonFactories
improvement:
description: Json parser string length metrics are tagged by format
links:
- https://github.com/palantir/conjure-java-runtime/pull/2571
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like something went sideways in a rebase/merge

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ugh, the merge of origin/develop seems to have gone sideways, I may just put together a separate PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moving to #2616

@schlosna schlosna mentioned this pull request Apr 28, 2023
@schlosna
Copy link
Contributor Author

Moving to #2616

@schlosna schlosna closed this Apr 28, 2023
@schlosna schlosna deleted the ds/junit5-vintage branch April 28, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants