File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
tensorflow_data_validation/utils Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -445,12 +445,13 @@ def _equal(actual_results: Iterable[
445
445
446
446
options = beam .options .pipeline_options .PipelineOptions (
447
447
runtime_type_check = True )
448
- with beam .Pipeline (options = options ) as p :
449
- result = p | beam .Create (examples ) | generator .ptransform
450
- util .assert_that (result , _make_result_matcher (self , expected_results ))
451
- pipeline_result = p .run ()
452
- if metrics_verify_fn :
453
- metrics_verify_fn (pipeline_result .metrics ())
448
+ p = beam .Pipeline (options = options )
449
+ result = p | beam .Create (examples ) | generator .ptransform
450
+ util .assert_that (result , _make_result_matcher (self , expected_results ))
451
+ pipeline_result = p .run ()
452
+ pipeline_result .wait_until_finish ()
453
+ if metrics_verify_fn :
454
+ metrics_verify_fn (pipeline_result .metrics ())
454
455
455
456
456
457
class CombinerFeatureStatsGeneratorTest (absltest .TestCase ):
You can’t perform that action at this time.
0 commit comments