fdb-record-layer
fdb-record-layer copied to clipboard
Cannot configure a parameterized DualPlannerTest to run in Cascades-only mode
If you mark a test as:
@DualPlannerTest(planner = CASCADES)
@ParmaterizedTest
@MethodSource
void someTest(Object arg1, Object arg2) {
}
Then this is supposed to run someTest
once for every argument as configured by the parameter source, and it's supposed to use the Cascades planner. However, this still ends up running every configuration once with the old planner because the @ParameterizedTest
annotation results in test cases being instantiated with the default planner type. (Also, Cascades doesn't currently get run, but that should be fixed by #2353.)