Skip to content

Commit d14cf1c

Browse files
author
Allen Wang
committed
disable unhandled faults for service test temporarily
1 parent d9b6e1f commit d14cf1c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/unit_tests/test_service.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
import asyncio
1212
import logging
1313

14+
import monarch
15+
1416
import pytest
1517
from forge.controller import ForgeActor
1618
from forge.controller.service import (
@@ -24,6 +26,11 @@
2426
from forge.types import ProcessConfig
2527
from monarch.actor import Actor, endpoint
2628

29+
# Temporary workaround - without this, proc_mesh.stop
30+
# will raise an exit code 1 failing all other tests.
31+
monarch.actor.unhandled_fault_hook = lambda failure: None
32+
33+
2734
logger = logging.getLogger(__name__)
2835
logger.setLevel(logging.INFO)
2936

0 commit comments

Comments
 (0)