@@ -458,8 +458,8 @@ def _handle_undeliverable_message(
458458 return True
459459
460460
461- # oss_skip: pytest keeps complaining about mocking get_ipython module
462- @pytest .mark .oss_skip
461+ @ pytest . mark . forked_only
462+ @pytest .mark .timeout ( 180 )
463463async def test_actor_log_streaming () -> None :
464464 config = get_configuration ()
465465 enable_log_forwarding = config ["enable_log_forwarding" ]
@@ -621,9 +621,8 @@ async def test_actor_log_streaming() -> None:
621621 pass
622622
623623
624- # oss_skip: pytest keeps complaining about mocking get_ipython module
625- # oss_skip: (SF) broken in GitHub by D86994420. Passes internally.
626- @pytest .mark .oss_skip
624+ @pytest .mark .forked_only
625+ @pytest .mark .timeout (180 )
627626async def test_alloc_based_log_streaming () -> None :
628627 """Test both AllocHandle.stream_logs = False and True cases."""
629628
@@ -732,8 +731,8 @@ def _stream_logs(self) -> bool:
732731 await test_stream_logs_case (True , "stream_logs_true" )
733732
734733
735- # oss_skip: (SF) broken in GitHub by D86994420. Passes internally.
736- @pytest .mark .oss_skip
734+ @ pytest . mark . forked_only
735+ @pytest .mark .timeout ( 180 )
737736async def test_logging_option_defaults () -> None :
738737 config = get_configuration ()
739738 enable_log_forwarding = config ["enable_log_forwarding" ]
@@ -857,8 +856,8 @@ def __init__(self):
857856 self .events = MockEvents ()
858857
859858
860- # oss_skip: pytest keeps complaining about mocking get_ipython module
861- @pytest .mark .oss_skip
859+ @ pytest . mark . forked_only
860+ @pytest .mark .timeout ( 180 )
862861async def test_flush_called_only_once () -> None :
863862 """Test that flush is called only once when ending an ipython cell"""
864863 config = get_configuration ()
@@ -895,8 +894,7 @@ async def test_flush_called_only_once() -> None:
895894 )
896895
897896
898- # oss_skip: pytest keeps complaining about mocking get_ipython module
899- @pytest .mark .oss_skip
897+ @pytest .mark .forked_only
900898@pytest .mark .timeout (180 )
901899async def test_flush_logs_ipython () -> None :
902900 """Test that logs are flushed when get_ipython is available and post_run_cell event is triggered."""
@@ -1000,7 +998,8 @@ async def test_flush_logs_ipython() -> None:
1000998 pass
1001999
10021000
1003- # oss_skip: importlib not pulling resource correctly in git CI, needs to be revisited
1001+ # oss_skip: importlib not pulling resource correctly in git CI, needs
1002+ # to be revisited
10041003@pytest .mark .oss_skip
10051004async def test_flush_logs_fast_exit () -> None :
10061005 config = get_configuration ()
@@ -1041,8 +1040,8 @@ async def test_flush_logs_fast_exit() -> None:
10411040 )
10421041
10431042
1044- # oss_skip: (SF) broken in GitHub by D86994420. Passes internally.
1045- @pytest .mark .oss_skip
1043+ @ pytest . mark . forked_only
1044+ @pytest .mark .timeout ( 180 )
10461045async def test_flush_on_disable_aggregation () -> None :
10471046 """Test that logs are flushed when disabling aggregation.
10481047
@@ -1188,8 +1187,8 @@ async def test_multiple_ongoing_flushes_no_deadlock() -> None:
11881187 )
11891188
11901189
1191- # oss_skip: (SF) broken in GitHub by D86994420. Passes internally.
1192- @pytest .mark .oss_skip
1190+ @ pytest . mark . forked_only
1191+ @pytest .mark .timeout ( 180 )
11931192async def test_adjust_aggregation_window () -> None :
11941193 """Test that the flush deadline is updated when the aggregation window is adjusted.
11951194
0 commit comments