Skip to content
Open
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
2 changes: 2 additions & 0 deletions src/conductor/client/automator/lease_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from typing import Any, Dict, Optional

from conductor.client.http.models.task_result import TaskResult
from conductor.client.http.models.task_result_status import TaskResultStatus

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -196,6 +197,7 @@ def _send_heartbeat(info: LeaseInfo) -> None:
task_id=info.task_id,
workflow_instance_id=info.workflow_instance_id,
extend_lease=True,
status=TaskResultStatus.IN_PROGRESS,
)
for attempt in range(LEASE_EXTEND_RETRY_COUNT):
try:
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/workflow/test_workflow_execution.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import logging
import time
from multiprocessing import set_start_method
from time import sleep

from conductor.client.automator.task_handler import TaskHandler
Expand Down Expand Up @@ -45,7 +44,6 @@ def run_workflow_execution_tests(configuration: Configuration, workflow_executor
scan_for_annotated_workers=True,
import_modules=['tests.integration.resources.worker.python.python_worker']
)
set_start_method('fork', force=True)
task_handler.start_processes()
try:
test_get_workflow_by_correlation_ids(workflow_executor)
Expand Down
Loading