We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b8dde commit 92271dfCopy full SHA for 92271df
tests/unit/task_processor/test_unit_task_processor_processor.py
@@ -115,7 +115,7 @@ def test_run_task_kills_task_after_timeout(
115
task = Task.create(
116
sleep_task.task_identifier,
117
scheduled_for=timezone.now(),
118
- args=(1,),
+ args=(1000,),
119
timeout=timedelta(microseconds=1),
120
)
121
task.save(using=current_database)
@@ -160,7 +160,7 @@ def test_run_recurring_task_kills_task_after_timeout(
160
run_every=timedelta(seconds=1), timeout=timedelta(microseconds=1)
161
162
def _dummy_recurring_task() -> None:
163
- time.sleep(1)
+ time.sleep(1000)
164
165
initialise()
166
0 commit comments