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 behavior of reading Instant and Duration from float. #85

Merged
merged 1 commit into from
Oct 24, 2018

Conversation

toddjonker
Copy link
Contributor

This is to document the current behavior of those conversions.

This is in response to issues identified in #84 so as to prevent that fix from altering current behavior.

This is to document the current behavior of those conversions.
* https://github.com/FasterXML/jackson-databind/issues/2141
*/
@Test
public void testDeserializationAsFloatEdgeCase08() throws Exception
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Edge cases 8-11 (in both files) use inputs just big enough to be demonstrably slow. On my MacBook they take about 8-17 seconds, slow enough to run all the time for the brief period until #84 (or similar) are merged. At that point I recommend adding low timeouts (maybe <100ms) to ensure good performance.

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