Drop tables at the end of testScaleWriters test
@@ -1522,6 +1522,7 @@ public class TestHiveIntegrationSmokeTest
@Test
public void testScaleWriters()
{
+ try {
// small table that will only have one writer
assertUpdate(
Session.builder(getSession())
@@ -1546,6 +1547,11 @@ public class TestHiveIntegrationSmokeTest
computeActual("SELECT count(DISTINCT \"$path\") FROM scale_writers_large"),
computeActual("SELECT count(*) FROM system.runtime.nodes"));
}
+ finally {
+ assertUpdate("DROP TABLE IF EXISTS scale_writers_large");
+ assertUpdate("DROP TABLE IF EXISTS scale_writers_small");
+ }
+ }
@Test
public void testShowCreateTable()
