apache_beam.runners.dataflow.test_dataflow_runner module

Wrapper of Beam runners that’s built for running and verifying e2e tests.

class apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner(cache=None)[source]

Bases: apache_beam.runners.dataflow.dataflow_runner.DataflowRunner

run_pipeline(pipeline)[source]

Execute test pipeline and verify test matcher

build_console_url(options)[source]

Build a console url of Dataflow job.

wait_until_in_state(expected_state, timeout=120)[source]

Wait until Dataflow pipeline terminate or enter RUNNING state.