You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/07/15 00:35:30 UTC

[GitHub] [calcite] xy2953396112 commented on pull request #2026: [WIP][CALCITE-4027] Add -Doverwrite option to DiffRepository

xy2953396112 commented on pull request #2026:
URL: https://github.com/apache/calcite/pull/2026#issuecomment-658479917


   > Am I doing it wrong?
   > There is still error:
   > 
   > ```
   > error while creating xml parser
   > java.lang.RuntimeException: error while creating xml parser
   > 	at org.apache.calcite.test.DiffRepository.<init>(DiffRepository.java:219)
   > 	at org.apache.calcite.test.DiffRepository.<init>(DiffRepository.java:131)
   > 	at org.apache.calcite.test.DiffRepository$Key.toRepo(DiffRepository.java:833)
   > 	at org.apache.calcite.test.DiffRepository.lookup(DiffRepository.java:770)
   > 	at org.apache.calcite.test.DiffRepository.lookup(DiffRepository.java:734)
   > 	at org.apache.calcite.test.DiffRepository.lookup(DiffRepository.java:720)
   > 	at org.apache.calcite.test.RelOptRulesTest.getDiffRepos(RelOptRulesTest.java:229)
   > 	at org.apache.calcite.test.RelOptTestBase.checkPlanning(RelOptTestBase.java:83)
   > ```
   > 
   > Here is the settings:
   > ![image](https://user-images.githubusercontent.com/15352793/86936862-2d2a5380-c104-11ea-91b6-31149e4028e2.png)
   
   Add -D `calcite.test.xml.overwrit` option in JUnit and  run a test case in RelOptRulesTest.xml.
   ![image](https://user-images.githubusercontent.com/23030751/87489434-974b7700-c675-11ea-9428-1004bbf4532f.png)
   If we run a test case through Gradle, same as your error info, should fix it.
   
   


----------------------------------------------------------------
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.

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