We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following files contain non-deterministic tests:
QuickConfigTest2.java
QuickConfigTest.java
UtilTypeTest.java
The specific flaky tests in these files are:
hello2()
test()
Run the following commands for each identified flaky test to observe non-deterministic failures:
mvn -pl extension-solon edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.support.solon.test.config.test1.QuickConfigTest2#hello2
mvn -pl extension-solon edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.support.solon.test.config.test1.QuickConfigTest#hello2 mvn -pl extension-solon edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.support.solon.test.config.test0.QuickConfigTest#hello2 mvn -pl extension-solon edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.support.solon.test.config.test2.QuickConfigTest#hello2
mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.internal.processor.primitives.UtilTypeTest#test
The following non-deterministic errors were observed during test runs:
QuickConfigTest2.java: [ERROR] QuickConfigTest2.hello2: expected: <{"values":{"b1":1,"d1":1.0,"map1":{"long":"12","time":"2023-01-16 17:39:53","int":12},"n1":"1","s1":"noear"}}> but was: <{"values":{"long":"1","order":{"orderId":"2"}}}>
[ERROR] QuickConfigTest2.hello2: expected: <{"values":{"b1":1,"d1":1.0,"map1":{"long":"12","time":"2023-01-16 17:39:53","int":12},"n1":"1","s1":"noear"}}> but was: <{"values":{"long":"1","order":{"orderId":"2"}}}>
QuickConfigTest.java: [ERROR] QuickConfigTest.hello2: expected: <{"values":{"b1":1,"d1":1.0,"map1":{"long":"12","time":"2023-01-16 17:39:53","int":12},"n1":"1","s1":"noear"}}> but was: <{"values":{"long":"1","order":{"orderId":"2"}}}>
[ERROR] QuickConfigTest.hello2: expected: <{"values":{"b1":1,"d1":1.0,"map1":{"long":"12","time":"2023-01-16 17:39:53","int":12},"n1":"1","s1":"noear"}}> but was: <{"values":{"long":"1","order":{"orderId":"2"}}}>
UtilTypeTest.java: [ERROR] UtilTypeTest.test: expected: <java.util.GregorianCalendar[time=1731865085636, areFieldsSet=true, zone=sun.util.calendar.ZoneInfo[id="Asia/Shanghai", offset=28800000, dstSavings=0]> but was: <java.util.GregorianCalendar[time=1731814685636, areFieldsSet=true, zone=sun.util.calendar.ZoneInfo[id="Asia/Shanghai", offset=28800000, dstSavings=0]>
[ERROR] UtilTypeTest.test: expected: <java.util.GregorianCalendar[time=1731865085636, areFieldsSet=true, zone=sun.util.calendar.ZoneInfo[id="Asia/Shanghai", offset=28800000, dstSavings=0]> but was: <java.util.GregorianCalendar[time=1731814685636, areFieldsSet=true, zone=sun.util.calendar.ZoneInfo[id="Asia/Shanghai", offset=28800000, dstSavings=0]>
All tests should pass consistently without non-deterministic failures, and the build should succeed after running the above commands.
The text was updated successfully, but these errors were encountered:
Fix in #3166
Sorry, something went wrong.
No branches or pull requests
Problem Description
The following files contain non-deterministic tests:
QuickConfigTest2.java
QuickConfigTest.java
UtilTypeTest.java
The specific flaky tests in these files are:
hello2()
inQuickConfigTest2.java
(two instances)hello2()
inQuickConfigTest.java
test()
inUtilTypeTest.java
(timezone-dependent issue)Environment Info
Steps to Reproduce
Run the following commands for each identified flaky test to observe non-deterministic failures:
QuickConfigTest2.java
:QuickConfigTest.java
:UtilTypeTest.java
:Observed Results
The following non-deterministic errors were observed during test runs:
QuickConfigTest2.java:
[ERROR] QuickConfigTest2.hello2: expected: <{"values":{"b1":1,"d1":1.0,"map1":{"long":"12","time":"2023-01-16 17:39:53","int":12},"n1":"1","s1":"noear"}}> but was: <{"values":{"long":"1","order":{"orderId":"2"}}}>
QuickConfigTest.java:
[ERROR] QuickConfigTest.hello2: expected: <{"values":{"b1":1,"d1":1.0,"map1":{"long":"12","time":"2023-01-16 17:39:53","int":12},"n1":"1","s1":"noear"}}> but was: <{"values":{"long":"1","order":{"orderId":"2"}}}>
UtilTypeTest.java:
[ERROR] UtilTypeTest.test: expected: <java.util.GregorianCalendar[time=1731865085636, areFieldsSet=true, zone=sun.util.calendar.ZoneInfo[id="Asia/Shanghai", offset=28800000, dstSavings=0]> but was: <java.util.GregorianCalendar[time=1731814685636, areFieldsSet=true, zone=sun.util.calendar.ZoneInfo[id="Asia/Shanghai", offset=28800000, dstSavings=0]>
Expected Results
All tests should pass consistently without non-deterministic failures, and the build should succeed after running the above commands.
The text was updated successfully, but these errors were encountered: