@@ -827,13 +827,15 @@ def timer_callback(self, t=beam.DoFn.TimestampParam):
827827 assert_that (actual , equal_to (expected ))
828828
829829 def test_pardo_et_timer_with_no_firing (self ):
830- if type (self ) in [FnApiRunnerTest ,
831- FnApiRunnerTestWithGrpc ,
832- FnApiRunnerTestWithGrpcAndMultiWorkers ,
833- FnApiRunnerTestWithDisabledCaching ,
834- FnApiRunnerTestWithMultiWorkers ,
835- FnApiRunnerTestWithBundleRepeat ,
836- FnApiRunnerTestWithBundleRepeatAndMultiWorkers ]:
830+ if type (self ).__name__ in {'FnApiRunnerTest' ,
831+ 'FnApiRunnerTestWithGrpc' ,
832+ 'FnApiRunnerTestWithGrpcAndMultiWorkers' ,
833+ 'FnApiRunnerTestWithDisabledCaching' ,
834+ 'FnApiRunnerTestWithMultiWorkers' ,
835+ 'FnApiRunnerTestWithBundleRepeat' ,
836+ 'FnApiRunnerTestWithBundleRepeatAndMultiWorkers' ,
837+ 'SamzaRunnerTest' ,
838+ 'SparkRunnerTest' }:
837839 raise unittest .SkipTest ("https://github.com/apache/beam/issues/35168" )
838840
839841 # The timer will not fire. It is initially set to T + 10, but then it is
@@ -842,20 +844,32 @@ def test_pardo_et_timer_with_no_firing(self):
842844 self ._run_pardo_et_timer_test (5 , 10 , True , True , [])
843845
844846 def test_pardo_et_timer_with_no_reset (self ):
845- if type (self ) in [FnApiRunnerTest ,
846- FnApiRunnerTestWithGrpc ,
847- FnApiRunnerTestWithGrpcAndMultiWorkers ,
848- FnApiRunnerTestWithDisabledCaching ,
849- FnApiRunnerTestWithMultiWorkers ,
850- FnApiRunnerTestWithBundleRepeat ,
851- FnApiRunnerTestWithBundleRepeatAndMultiWorkers ]:
847+ if type (self ).__name__ in {'FnApiRunnerTest' ,
848+ 'FnApiRunnerTestWithGrpc' ,
849+ 'FnApiRunnerTestWithGrpcAndMultiWorkers' ,
850+ 'FnApiRunnerTestWithDisabledCaching' ,
851+ 'FnApiRunnerTestWithMultiWorkers' ,
852+ 'FnApiRunnerTestWithBundleRepeat' ,
853+ 'FnApiRunnerTestWithBundleRepeatAndMultiWorkers' ,
854+ 'SamzaRunnerTest' ,
855+ 'SparkRunnerTest' }:
852856 raise unittest .SkipTest ("https://github.com/apache/beam/issues/35168" )
853857
854858 # The timer will not fire. It is initially set to T + 10, and then it is
855859 # cleared at T + 4 and never set again (count is not reset).
856860 self ._run_pardo_et_timer_test (5 , 10 , False , True , [])
857861
858862 def test_pardo_et_timer_with_no_reset_and_no_clear (self ):
863+ if type (self ).__name__ in {'FnApiRunnerTest' ,
864+ 'FnApiRunnerTestWithGrpc' ,
865+ 'FnApiRunnerTestWithGrpcAndMultiWorkers' ,
866+ 'FnApiRunnerTestWithDisabledCaching' ,
867+ 'FnApiRunnerTestWithMultiWorkers' ,
868+ 'FnApiRunnerTestWithBundleRepeat' ,
869+ 'FnApiRunnerTestWithBundleRepeatAndMultiWorkers' ,
870+ 'SamzaRunnerTest' ,
871+ 'SparkRunnerTest' }:
872+ raise unittest .SkipTest ("https://github.com/apache/beam/issues/35168" )
859873 # The timer will fire at T + 10. After the timer is set, it is never
860874 # cleared or set again.
861875 self ._run_pardo_et_timer_test (5 , 10 , False , False , ["fired" ])
0 commit comments