Class TestMultiVersions

java.lang.Object
org.apache.hadoop.hbase.TestMultiVersions

@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests") public class TestMultiVersions extends Object
Port of old TestScanMultipleVersions, TestTimestamp and TestGetRowVersions from old testing framework to HBaseTestingUtil.
  • Field Details

  • Constructor Details

  • Method Details

    • setUpBeforeClass

      @BeforeAll public static void setUpBeforeClass() throws Exception
      Throws:
      Exception
    • tearDownAfterClass

      @AfterAll public static void tearDownAfterClass() throws Exception
      Throws:
      Exception
    • before

      @BeforeEach public void before() throws org.apache.hadoop.hbase.MasterNotRunningException, org.apache.hadoop.hbase.ZooKeeperConnectionException, IOException
      Throws:
      org.apache.hadoop.hbase.MasterNotRunningException
      org.apache.hadoop.hbase.ZooKeeperConnectionException
      IOException
    • testTimestamps

      @Test public void testTimestamps(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Tests user specifiable time stamps putting, getting and scanning. Also tests same in presence of deletes. Test cores are written so can be run against an HRegion and against an HTable: i.e. both local and remote.

      Port of old TestTimestamp test to here so can better utilize the spun up cluster running more than a single test per spin up. Keep old tests' crazyness.

      Throws:
      Exception
    • testGetRowVersions

      @Test public void testGetRowVersions(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Verifies versions across a cluster restart.

      Port of old TestGetRowVersions test to here so can better utilize the spun up cluster running more than a single test per spin up. Keep old tests' crazyness.

      Throws:
      Exception
    • testScanMultipleVersions

      @Test public void testScanMultipleVersions(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Port of old TestScanMultipleVersions test here so can better utilize the spun up cluster running more than just a single test. Keep old tests crazyness.

      Tests five cases of scans and timestamps.

      Throws:
      Exception