File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 36
36
unittest ,
37
37
)
38
38
from test .unified_format_shared import (
39
- IS_INTERRUPTED ,
40
39
KMS_TLS_OPTS ,
41
40
PLACEHOLDER_MAP ,
42
41
SKIP_CSOT_TESTS ,
104
103
105
104
_IS_SYNC = False
106
105
106
+ IS_INTERRUPTED = False
107
+
108
+
109
+ def interrupt_loop ():
110
+ global IS_INTERRUPTED
111
+ IS_INTERRUPTED = True
112
+
107
113
108
114
async def is_run_on_requirement_satisfied (requirement ):
109
115
topology_satisfied = True
Original file line number Diff line number Diff line change 36
36
unittest ,
37
37
)
38
38
from test .unified_format_shared import (
39
- IS_INTERRUPTED ,
40
39
KMS_TLS_OPTS ,
41
40
PLACEHOLDER_MAP ,
42
41
SKIP_CSOT_TESTS ,
104
103
105
104
_IS_SYNC = True
106
105
106
+ IS_INTERRUPTED = False
107
+
108
+
109
+ def interrupt_loop ():
110
+ global IS_INTERRUPTED
111
+ IS_INTERRUPTED = True
112
+
107
113
108
114
def is_run_on_requirement_satisfied (requirement ):
109
115
topology_satisfied = True
Original file line number Diff line number Diff line change 139
139
}
140
140
141
141
142
- def interrupt_loop ():
143
- global IS_INTERRUPTED
144
- IS_INTERRUPTED = True
145
-
146
-
147
142
def with_metaclass (meta , * bases ):
148
143
"""Create a base class with a metaclass.
149
144
You can’t perform that action at this time.
0 commit comments