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:
MapTest.java
DateTypeTest.java
The specific flaky tests in these files are:
test1()
test2()
test()
Run the following commands for each identified flaky test to observe non-deterministic failures:
`mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7 -Dtest=com.alibaba.fastjson2.internal.processor.annotation.MapTest#test
mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7 -Dtest=com.alibaba.fastjson2.internal.processor.annotation.MapTest#test1
mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7 -Dtest=com.alibaba.fastjson2.internal.processor.annotation.MapTest#test2 `
mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7 -Dtest=com.alibaba.fastjson2.internal.processor.primitives.DateTypeTest#test
The following non-deterministic errors were observed during test runs:
MapTest.java: [ERROR] MapTest.test2:62 expected: <{"values":{"a":"101","b":"201"}}> but was: <{"values":{"b":"201","a":"101"}}> [ERROR] MapTest.test1: expected: <{"values":{"a":"101","b":"201"}}> but was: <{"values":{"b":"201","a":"101"}}>
[ERROR] MapTest.test2:62 expected: <{"values":{"a":"101","b":"201"}}> but was: <{"values":{"b":"201","a":"101"}}> [ERROR] MapTest.test1: expected: <{"values":{"a":"101","b":"201"}}> but was: <{"values":{"b":"201","a":"101"}}>
DateTypeTest.java (timezone-dependent): [ERROR] DateTypeTest.test:31 expected: <9729000> but was: <96129000>
[ERROR] DateTypeTest.test:31 expected: <9729000> but was: <96129000>
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 #3159
Sorry, something went wrong.
No branches or pull requests
Problem Description
The following files contain non-deterministic tests:
MapTest.java
DateTypeTest.java
The specific flaky tests in these files are:
test1()
,test1()
, andtest2()
inMapTest.java
test()
inDateTypeTest.java
(timezone-dependent issue)Environment Info
Steps to Reproduce
Run the following commands for each identified flaky test to observe non-deterministic failures:
MapTest.java
:`mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7
-Dtest=com.alibaba.fastjson2.internal.processor.annotation.MapTest#test
mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7
-Dtest=com.alibaba.fastjson2.internal.processor.annotation.MapTest#test1
mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7
-Dtest=com.alibaba.fastjson2.internal.processor.annotation.MapTest#test2 `
DateTypeTest.java
:mvn -pl codegen-test edu.illinois:nondex-maven-plugin:2.1.7 -Dtest=com.alibaba.fastjson2.internal.processor.primitives.DateTypeTest#test
Observed Results
The following non-deterministic errors were observed during test runs:
MapTest.java:
[ERROR] MapTest.test2:62 expected: <{"values":{"a":"101","b":"201"}}> but was: <{"values":{"b":"201","a":"101"}}> [ERROR] MapTest.test1: expected: <{"values":{"a":"101","b":"201"}}> but was: <{"values":{"b":"201","a":"101"}}>
DateTypeTest.java (timezone-dependent):
[ERROR] DateTypeTest.test:31 expected: <9729000> but was: <96129000>
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: