laurentgo opened a new pull request #1240: RelOptUtilTest concurrency fixup
URL: https://github.com/apache/calcite/pull/1240
 
 
   RelOptUtilTest was creating a static RelOptCluster which could be used
   during tests running in parallel to acces the associated RelMetadataQuery
   instance.  Alas the object is not safe to access from multiple threads
   and in some occasions tests would fail with CyclicMetadataException.
   
   Fixing the test class by creating a new RelOptCluster/RelBuilder
   instance for each test, and removing the static instances.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to