Skip to content

test: fix flaky fail in JSObjectComparisonMachine - #9

Merged
h4l merged 1 commit into
mainfrom
fix-flaky-test-failure
Sep 26, 2025
Merged

test: fix flaky fail in JSObjectComparisonMachine#9
h4l merged 1 commit into
mainfrom
fix-flaky-test-failure

Conversation

@h4l

@h4l h4l commented Sep 26, 2025

Copy link
Copy Markdown
Owner

Hypothesis found a failure scenario in the stateful property test using property '00'. The test's model was incorrectly treating it as an integer property, when in fact it should be (and is) treated as a string property. This caused the test to fail incorrectly.

The test now uses the well-tested normalise_property_key() function instead of int() to distinguish integer from non-integer properties.

Hypothesis found a failure scenario in the stateful property test using
property '00'. The test's model was incorrectly treating it as an
integer property, when in fact it should be (and is) treated as a string
property. This caused the test to fail incorrectly.

The test now uses the well-tested normalise_property_key() function
instead of int() to distinguish integer from non-integer properties.
@h4l
h4l merged commit 6632359 into main Sep 26, 2025
20 checks passed
@h4l
h4l deleted the fix-flaky-test-failure branch September 26, 2025 08:17
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.

1 participant