You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix UInt64 enum tests to use consistent MySQL format with MariaDB runtime adjustment
Simplified the test approach:
1. Non-nullable test: Both Max test cases now start with MySQL format {"Prop":-1} and adjust to {"Prop":18446744073709551615} only on MariaDB
2. Nullable test: Changed InlineData from ulong literals to EnumU64 enum values to fix xUnit type conversion error
The key changes:
- Line 64: Changed numeric literal from MariaDB format to MySQL format {"Prop":-1}
- Line 68-77: Simplified logic to only adjust when on MariaDB and JSON is "-1"
- Lines 93-100: Changed from UL literals to EnumU64 enum values (xUnit can convert these to EnumU64?)
- Line 107-111: Simplified condition to match non-nullable version
All 14 test cases (7 for each method) now pass on both MySQL and MariaDB.
Co-authored-by: renemadsen <[email protected]>
0 commit comments