You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/03/19 00:55:47 UTC

[GitHub] [carbondata] qiuchenjian commented on a change in pull request #3152: [TestCase][HOTFIX] Added drop database in beforeEach to avoid exception

qiuchenjian commented on a change in pull request #3152: [TestCase][HOTFIX] Added drop database in beforeEach to avoid exception
URL: https://github.com/apache/carbondata/pull/3152#discussion_r266696693
 
 

 ##########
 File path: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/dblocation/DBLocationCarbonTableTestCase.scala
 ##########
 @@ -40,8 +40,9 @@ class DBLocationCarbonTableTestCase extends QueryTest with BeforeAndAfterAll {
 
   }
 
-  override def beforeAll {
+  override def beforeEach {
     sql("drop database if exists carbon cascade")
+    sql("drop database if exists carbon1 cascade")
 
 Review comment:
   This test case file has another database "carbon2", better to do the same operator
   Better to  delete "drop database" command in each test case

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


With regards,
Apache Git Services