Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion test/asynchronous/unified_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
unittest,
)
from test.unified_format_shared import (
IS_INTERRUPTED,
KMS_TLS_OPTS,
PLACEHOLDER_MAP,
SKIP_CSOT_TESTS,
Expand Down Expand Up @@ -104,6 +103,13 @@

_IS_SYNC = False

IS_INTERRUPTED = False


def interrupt_loop():
global IS_INTERRUPTED
IS_INTERRUPTED = True


async def is_run_on_requirement_satisfied(requirement):
topology_satisfied = True
Expand Down
8 changes: 7 additions & 1 deletion test/unified_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
unittest,
)
from test.unified_format_shared import (
IS_INTERRUPTED,
KMS_TLS_OPTS,
PLACEHOLDER_MAP,
SKIP_CSOT_TESTS,
Expand Down Expand Up @@ -104,6 +103,13 @@

_IS_SYNC = True

IS_INTERRUPTED = False


def interrupt_loop():
global IS_INTERRUPTED
IS_INTERRUPTED = True


def is_run_on_requirement_satisfied(requirement):
topology_satisfied = True
Expand Down
5 changes: 0 additions & 5 deletions test/unified_format_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,6 @@
}


def interrupt_loop():
global IS_INTERRUPTED
IS_INTERRUPTED = True


def with_metaclass(meta, *bases):
"""Create a base class with a metaclass.
Expand Down
Loading