Skip to content

Commit 170c33b

Browse files
author
Andrei Neagu
committed
fixed tests
1 parent 08f58d7 commit 170c33b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/service-library/tests/deferred_tasks/test__redis_task_tracker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def task_schedule() -> TaskScheduleModel:
2222
return TypeAdapter(TaskScheduleModel).validate_python(
2323
{
2424
"timeout": timedelta(seconds=1),
25-
"execution_attempts": 1,
25+
"total_attempts": 1,
26+
"execution_attempts": 2,
2627
"class_unique_reference": "mock",
2728
"start_context": {},
2829
"state": TaskState.SCHEDULED,

0 commit comments

Comments
 (0)