You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by GitBox <gi...@apache.org> on 2021/06/21 16:42:45 UTC

[GitHub] [incubator-sedona] ericsun95 commented on pull request #516: [Sedona-28] shape&wkb ser de

ericsun95 commented on pull request #516:
URL: https://github.com/apache/incubator-sedona/pull/516#issuecomment-865185348


   > @jiayuasu, Thank you.
   > 
   > 
   > 
   > Strangely, if the test runs alone, it succeeds. Only when I run it with another test that uses TestBasicScala does the problem occur.
   > 
   > It doesn't help to stop the SparkSession of TestBasicScala. It somehow still exists in my test context. Thus, the test failed because it loads the session with Shape Serde
   
   This is a very common issue when you didn't close the session between tests. Could you just add one override aftereach function which call sparksession get active session close? Better also move the sparksession create part into beforeeach function.


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