use of org.apache.beam.sdk.testing.CrashingRunner in project beam by apache.
the class PipelineRunnerTest method testInstantiation.
@Test
public void testInstantiation() {
PipelineOptions options = PipelineOptionsFactory.create();
options.setRunner(CrashingRunner.class);
PipelineRunner<?> runner = PipelineRunner.fromOptions(options);
assertTrue(runner instanceof CrashingRunner);
}
Aggregations