fdb-record-layer icon indicating copy to clipboard operation
fdb-record-layer copied to clipboard

Cannot configure a parameterized DualPlannerTest to run in Cascades-only mode

Open alecgrieser opened this issue 1 year ago • 0 comments

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.)

alecgrieser avatar Nov 10 '23 18:11 alecgrieser