File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -583,6 +583,8 @@ def synchronize_config(*_):
583583 assert clear_impressions ._called == 1
584584 assert clear_events ._called == 1
585585 factory .destroy ()
586+ time .sleep (0.1 )
587+ assert factory .destroyed
586588
587589 def test_error_prefork (self , mocker ):
588590 """Test not handling fork."""
@@ -645,6 +647,8 @@ def synchronize_config(*_):
645647 pass
646648 assert factory .ready
647649 factory .destroy ()
650+ time .sleep (0.1 )
651+ assert factory .destroyed
648652
649653 def test_destroy_with_event_pluggable (self , mocker ):
650654 config = {
@@ -700,7 +704,8 @@ def synchronize_config(*_):
700704
701705 assert factory ._status == Status .WAITING_FORK
702706 factory .destroy ()
703-
707+ time .sleep (0.1 )
708+ assert factory .destroyed
704709
705710class SplitFactoryAsyncTests (object ):
706711 """Split factory async test cases."""
You can’t perform that action at this time.
0 commit comments