()
| 92 | } |
| 93 | |
| 94 | @AfterClass |
| 95 | public static void oneTimeTearDown() throws Exception { |
| 96 | // In HBase 0.90.1 and above we can use util.shutdownMiniHBaseCluster() |
| 97 | // here instead. |
| 98 | MiniHBaseCluster hbc = util.getHBaseCluster(); |
| 99 | if (hbc != null) { |
| 100 | hbc.shutdown(); |
| 101 | hbc.join(); |
| 102 | } |
| 103 | util.shutdownMiniZKCluster(); |
| 104 | } |
| 105 | |
| 106 | |
| 107 | @Before |