Search in sources :

Example 1 with Shadower

use of org.apache.phoenix.end2end.Shadower in project phoenix by apache.

the class SkipScanBigFilterTest method doSetup.

@BeforeClass
@Shadower(classBeingShadowed = BaseConnectionlessQueryTest.class)
public static void doSetup() throws Exception {
    Map<String, String> props = Maps.newHashMapWithExpectedSize(1);
    // enables manual splitting on salted tables
    props.put(QueryServices.FORCE_ROW_KEY_ORDER_ATTRIB, Boolean.toString(false));
    initDriver(new ReadOnlyProps(props.entrySet().iterator()));
}
Also used : ReadOnlyProps(org.apache.phoenix.util.ReadOnlyProps) BeforeClass(org.junit.BeforeClass) Shadower(org.apache.phoenix.end2end.Shadower)

Example 2 with Shadower

use of org.apache.phoenix.end2end.Shadower in project phoenix by apache.

the class BasePigIT method doSetup.

@BeforeClass
@Shadower(classBeingShadowed = BaseHBaseManagedTimeIT.class)
public static void doSetup() throws Exception {
    Map<String, String> props = Maps.newHashMapWithExpectedSize(3);
    props.put(QueryServices.EXTRA_JDBC_ARGUMENTS_ATTRIB, QueryServicesOptions.DEFAULT_EXTRA_JDBC_ARGUMENTS);
    // Must update config before starting server
    setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator()));
}
Also used : ReadOnlyProps(org.apache.phoenix.util.ReadOnlyProps) BeforeClass(org.junit.BeforeClass) Shadower(org.apache.phoenix.end2end.Shadower)

Aggregations

Shadower (org.apache.phoenix.end2end.Shadower)2 ReadOnlyProps (org.apache.phoenix.util.ReadOnlyProps)2 BeforeClass (org.junit.BeforeClass)2