You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/11/30 02:54:34 UTC

[GitHub] [shardingsphere] aditya-kumbhar opened a new issue, #22518: Flaky tests in ParseDistSQLHandlerTest due to nondeterministic json key ordering

aditya-kumbhar opened a new issue, #22518:
URL: https://github.com/apache/shardingsphere/issues/22518

   Two tests in the test class ParseDistSQLHandlerTest, using the [NonDex](https://github.com/TestingResearchIllinois/NonDex) tool:
   ```
   org.apache.shardingsphere.proxy.backend.handler.distsql.ral.advance.ParseDistSQLHandlerTest#assertGetRowDataForMySQL
   org.apache.shardingsphere.proxy.backend.handler.distsql.ral.advance.ParseDistSQLHandlerTest#assertGetRowDataForPostgreSQL
   ```
   
   Command to reproduce using Nondex: 
   `mvn-pl proxy/backend edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dtest=org.apache.shardingsphere.proxy.backend.handler.distsql.ral.advance.ParseDistSQLHandlerTest`
   
   The following assertions failed:
   ```
   assertThat(new LinkedList<>(parseDistSQLHandler.getRowData().getData()).getLast(), is(new Gson().toJson(statement)));
   assertThat(JsonParser.parseString(new LinkedList<>(parseDistSQLHandler.getRowData().getData()).getLast().toString()), is(JsonParser.parseString(new Gson().toJson(statement))));
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] terrymanu closed issue #22518: Flaky tests in ParseDistSQLHandlerTest due to nondeterministic json element ordering

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #22518: Flaky tests in ParseDistSQLHandlerTest due to nondeterministic json element ordering
URL: https://github.com/apache/shardingsphere/issues/22518


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] aditya-kumbhar commented on issue #22518: Flaky tests in ParseDistSQLHandlerTest due to nondeterministic json key ordering

Posted by GitBox <gi...@apache.org>.
aditya-kumbhar commented on issue #22518:
URL: https://github.com/apache/shardingsphere/issues/22518#issuecomment-1331583055

   Working on a fix for this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org