Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit 286aa5f

Browse files
authored
fixed thread is alive check to handle py3.9 updates (#859)
* fixed thread is alive check to handle py3.9 updates * updated the minor version
1 parent 95ffae0 commit 286aa5f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ endif
316316

317317
nxOMSAutomationWorker:
318318
rm -rf output/staging; \
319-
VERSION="1.7.10.0"; \
319+
VERSION="1.8.0.0"; \
320320
PROVIDERS="nxOMSAutomationWorker"; \
321321
STAGINGDIR="output/staging/$@/DSCResources"; \
322322
cat Providers/Modules/$@.psd1 | sed "s@<MODULE_VERSION>@$${VERSION}@" > intermediate/Modules/$@.psd1; \

Providers/nxOMSAutomationWorker/automationworker/3.x/worker/configuration3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
DEFAULT_VM_ID = DEFAULT_UNKNOWN
5959
DEFAULT_WORKER_TYPE = DEFAULT_UNKNOWN
6060
DEFAULT_COMPONENT = DEFAULT_UNKNOWN
61-
DEFAULT_WORKER_VERSION = "1.7.10.0"
61+
DEFAULT_WORKER_VERSION = "1.8.0.0"
6262
DEFAULT_JRDS_POLLING_FREQUENCY = "15"
6363

6464
# state configuration keys

Providers/nxOMSAutomationWorker/automationworker/3.x/worker/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def execute_runbook(self):
139139

140140
# wait for runbook execution to complete
141141
pending_action = None
142-
while stream_handler.isAlive() or self.runtime.runbook_subprocess.poll() is None:
142+
while stream_handler.is_alive() or self.runtime.runbook_subprocess.poll() is None:
143143
try:
144144
pending_action = self.msg_queue.get(block=False)
145145
tracer.log_sandbox_job_pending_action_detected(self.job_id, pending_action)

Providers/nxOMSAutomationWorker/automationworker/3.x/worker/sandbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def stop_tracking_terminated_jobs():
9999

100100
# clean up finished jobs
101101
for job_id, job_tuple in list(job_map.items()):
102-
if job_tuple[0].isAlive() is False:
102+
if job_tuple[0].is_alive() is False:
103103
try:
104104
job_tuple[2].get(block=False)
105105
raise SandboxRuntimeException()

Providers/nxOMSAutomationWorker/automationworker/worker/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
DEFAULT_VM_ID = DEFAULT_UNKNOWN
5757
DEFAULT_WORKER_TYPE = DEFAULT_UNKNOWN
5858
DEFAULT_COMPONENT = DEFAULT_UNKNOWN
59-
DEFAULT_WORKER_VERSION = "1.7.10.0"
59+
DEFAULT_WORKER_VERSION = "1.8.0.0"
6060
DEFAULT_JRDS_POLLING_FREQUENCY = "15"
6161

6262
# state configuration keys

Providers/nxOMSAutomationWorker/automationworker/worker/configuration2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
DEFAULT_VM_ID = DEFAULT_UNKNOWN
5656
DEFAULT_WORKER_TYPE = DEFAULT_UNKNOWN
5757
DEFAULT_COMPONENT = DEFAULT_UNKNOWN
58-
DEFAULT_WORKER_VERSION = "1.7.10.0"
58+
DEFAULT_WORKER_VERSION = "1.8.0.0"
5959
DEFAULT_JRDS_POLLING_FREQUENCY = "15"
6060

6161
# state configuration keys

0 commit comments

Comments
 (0)