File tree 1 file changed +6
-1
lines changed
sdks/python/apache_beam/runners/interactive
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -395,7 +395,12 @@ def test_cleanup_by_a_pipeline(self):
395
395
# Pipeline association is cleaned up.
396
396
self .assertNotIn (p , self .clusters .pipelines )
397
397
self .assertNotIn (p , dcm .pipelines )
398
- self .assertEqual (options .view_as (FlinkRunnerOptions ).flink_master , '[auto]' )
398
+ # The internal option in the pipeline is overwritten.
399
+ self .assertEqual (
400
+ p .options .view_as (FlinkRunnerOptions ).flink_master , '[auto]' )
401
+ # The original option is unchanged.
402
+ self .assertEqual (
403
+ options .view_as (FlinkRunnerOptions ).flink_master , meta .master_url )
399
404
# The cluster is unknown now.
400
405
self .assertNotIn (meta , self .clusters .dataproc_cluster_managers )
401
406
self .assertNotIn (meta .master_url , self .clusters .master_urls )
You can’t perform that action at this time.
0 commit comments