|
@@ -32,6 +32,7 @@ import org.apache.hadoop.yarn.server.timelineservice.storage.common.ColumnRWHelp
|
|
|
import org.apache.hadoop.yarn.server.timelineservice.storage.domain.DomainColumn;
|
|
|
import org.apache.hadoop.yarn.server.timelineservice.storage.domain.DomainRowKey;
|
|
|
import org.apache.hadoop.yarn.server.timelineservice.storage.domain.DomainTableRW;
|
|
|
+import org.junit.AfterClass;
|
|
|
import org.junit.BeforeClass;
|
|
|
import org.junit.Test;
|
|
|
|
|
@@ -123,4 +124,11 @@ public class TestHBaseTimelineStorageDomain {
|
|
|
assertEquals("user1,user2 group1,group2", readers);
|
|
|
assertEquals("writer1,writer2", writers);
|
|
|
}
|
|
|
+
|
|
|
+ @AfterClass
|
|
|
+ public static void tearDownAfterClass() throws Exception {
|
|
|
+ if (util != null) {
|
|
|
+ util.shutdownMiniCluster();
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|