MCPcopy Create free account

hub / github.com/celery/celery / functions

Functions9,499 in github.com/celery/celery

Methodtest_on_chord_part_return__restore_error_preserves_claim
Test that a GroupResult.restore() error after claim acquisition preserves the claim. When GroupResult.restore() or join() fails after claim a
t/unit/backends/test_redis.py:2846
Methodtest_on_chord_part_return__same_task_id_at_two_indexes
(self, ordered)
t/unit/backends/test_redis.py:2733
Methodtest_on_chord_part_return__same_task_id_at_two_indexes
(self)
t/unit/backends/test_redis.py:3090
Methodtest_on_chord_part_return__success
(self)
t/unit/backends/test_redis.py:2506
Methodtest_on_chord_part_return__success__ordered
(self)
t/unit/backends/test_redis.py:2524
Methodtest_on_chord_part_return__success__unordered
(self)
t/unit/backends/test_redis.py:2513
Methodtest_on_chord_part_return__unordered
(self)
t/unit/backends/test_redis.py:2317
Methodtest_on_chord_part_return_callback_exception
Test on_chord_part_return when callback.delay raises exception (line 302).
t/unit/backends/test_gcs.py:584
Methodtest_on_chord_part_return_expire_set_to_zero
(self)
t/unit/backends/test_redis.py:2387
Methodtest_on_chord_part_return_join_exception
Test on_chord_part_return when join_native raises exception.
t/unit/backends/test_gcs.py:531
Methodtest_on_chord_part_return_no_expiry
(self)
t/unit/backends/test_redis.py:2357
Methodtest_on_chord_part_return_no_expiry__ordered
(self)
t/unit/backends/test_redis.py:2466
Methodtest_on_chord_part_return_no_expiry__unordered
(self)
t/unit/backends/test_redis.py:2426
Methodtest_on_chord_part_return_no_gid_or_tid
(self)
t/unit/backends/test_redis.py:1991
Methodtest_on_chord_part_return_resets_header_results
(self, restore)
t/unit/backends/test_cache.py:149
Methodtest_on_chord_part_return_retries_only_the_body_publish
(self, ordered)
t/unit/backends/test_redis.py:2536
Methodtest_on_chord_part_return_timeout
(self, complex_header_result)
t/unit/backends/test_redis.py:3440
Methodtest_on_chord_part_return_uses_chord_expires
( self, result_expires, group_expires)
t/unit/backends/test_redis.py:2294
Methodtest_on_close
(self)
t/unit/concurrency/test_prefork.py:1452
Methodtest_on_close__pool_not_running
(self)
t/unit/concurrency/test_prefork.py:1459
Methodtest_on_close_cancels_pending_timer_entry_for_scheduled_requests
The ETA timer entry must be cancelled too, otherwise the stale callback can still fire on transports whose loop doesn't clear the time
t/unit/worker/test_consumer.py:781
Methodtest_on_close_clears_semaphore_and_reqs
(self)
t/unit/worker/test_consumer.py:740
Methodtest_on_close_keeps_running_task_that_is_also_scheduled
A request can be in both sets: with a threaded timer an ETA already in the past fires straight away, so the request can be reserved/ac
t/unit/worker/test_consumer.py:814
Methodtest_on_close_logs_and_continues_if_timer_cancel_raises
A failing cancellation must not abort the rest of the cleanup.
t/unit/worker/test_consumer.py:802
Methodtest_on_close_purges_orphan_reservations_from_requests_dict
A Request reserved but never accepted must be dropped from ``state.requests`` (regression for the broken loop in PR #7771, which compa
t/unit/worker/test_consumer.py:753
Methodtest_on_close_purges_scheduled_requests_from_requests_dict
Scheduled (ETA/countdown) Requests never reach ``reserved_requests``, so they need their own cleanup or they leak in ``state.requests`
t/unit/worker/test_consumer.py:767
Methodtest_on_connection_error
(self, logger)
t/unit/backends/test_redis.py:1837
Methodtest_on_connection_error_skip_resets_prior_reduced_state
Skip path must clear state left over by an earlier legacy reduction. Edge case raised in PR review: if a previous reconnect took the
t/unit/worker/test_consumer.py:258
Methodtest_on_consumer_ready
(self)
t/unit/worker/test_worker.py:741
Methodtest_on_decode_error
(self, crit)
t/unit/worker/test_worker.py:250
Methodtest_on_elect
(self)
t/unit/worker/test_consumer.py:2108
Methodtest_on_elect_ack_lose
(self)
t/unit/worker/test_consumer.py:2169
Methodtest_on_elect_ack_win
(self)
t/unit/worker/test_consumer.py:2161
Methodtest_on_elect_ack_win_but_no_action
(self)
t/unit/worker/test_consumer.py:2177
Functiontest_on_event_non_task
()
t/unit/events/test_dumper.py:57
Functiontest_on_event_task_received
()
t/unit/events/test_dumper.py:38
Methodtest_on_failure
(self)
t/unit/worker/test_request.py:2166
Methodtest_on_failure_Ignore_acknowledges
(self)
t/unit/worker/test_request.py:346
Methodtest_on_failure_Reject_marks_as_failure
(self)
t/unit/worker/test_request.py:371
Methodtest_on_failure_Reject_marks_as_failure_when_already_acked
(self)
t/unit/worker/test_request.py:424
Methodtest_on_failure_Reject_rejects
(self)
t/unit/worker/test_request.py:357
Methodtest_on_failure_Reject_rejects_with_requeue
(self)
t/unit/worker/test_request.py:440
Methodtest_on_failure_Reject_respects_send_failed_event
(self)
t/unit/worker/test_request.py:406
Methodtest_on_failure_SystemExit_cancelled_request_stays_unacked
(self)
t/unit/worker/test_request.py:1407
Methodtest_on_failure_SystemExit_from_task_itself_reject_on_worker_lost
(self)
t/unit/worker/test_request.py:1459
Methodtest_on_failure_SystemExit_revoked_request_stays_unacked
(self)
t/unit/worker/test_request.py:1424
Methodtest_on_failure_Terminated
(self)
t/unit/worker/test_request.py:321
Methodtest_on_failure_TimeLimitExceeded_acks
(self)
t/unit/worker/test_request.py:683
Methodtest_on_failure_TimeLimitExceeded_rejects_with_requeue
(self)
t/unit/worker/test_request.py:706
Methodtest_on_failure_WorkerLostError
(self)
t/unit/worker/test_request.py:1228
Methodtest_on_failure_WorkerLostError_after_success_skips_retry_on_worker_lost
(self)
t/unit/worker/test_request.py:1298
Methodtest_on_failure_WorkerLostError_after_success_was_stored
(self)
t/unit/worker/test_request.py:1248
Methodtest_on_failure_WorkerLostError_after_success_was_stored_acks_late
(self)
t/unit/worker/test_request.py:1267
Methodtest_on_failure_WorkerLostError_backend_unavailable
(self)
t/unit/worker/test_request.py:1362
Methodtest_on_failure_WorkerLostError_redelivered_None
(self)
t/unit/worker/test_request.py:614
Methodtest_on_failure_WorkerLostError_redelivered_True
(self)
t/unit/worker/test_request.py:632
Methodtest_on_failure_WorkerLostError_rejects_with_requeue
(self)
t/unit/worker/test_request.py:461
Methodtest_on_failure_WorkerLostError_retry_on_worker_lost
(self)
t/unit/worker/test_request.py:494
Methodtest_on_failure_WorkerLostError_retry_on_worker_lost_exhausted
(self)
t/unit/worker/test_request.py:533
Methodtest_on_failure_WorkerLostError_retry_on_worker_lost_ignore_result
( self, ignored_by)
t/unit/worker/test_request.py:582
Methodtest_on_failure_WorkerLostError_retry_on_worker_lost_no_acks_late
(self)
t/unit/worker/test_request.py:570
Methodtest_on_failure_WorkerLostError_retry_on_worker_lost_options
(self)
t/unit/worker/test_request.py:521
Methodtest_on_failure_WorkerLostError_retry_on_worker_lost_send_fails
(self)
t/unit/worker/test_request.py:545
Methodtest_on_failure_WorkerLostError_retry_on_worker_lost_send_fails_no_reject
(self)
t/unit/worker/test_request.py:558
Methodtest_on_failure_WorkerLostError_retry_on_worker_lost_store_errors_even_if_ignored
(self)
t/unit/worker/test_request.py:605
Methodtest_on_failure_WorkerLostError_skips_lookup_for_rpc_backend
(self)
t/unit/worker/test_request.py:1329
Methodtest_on_failure_WorkerLostError_skips_lookup_when_ignore_result
(self)
t/unit/worker/test_request.py:1344
Methodtest_on_failure__WorkerLostError
(self)
t/unit/worker/test_request.py:2176
Methodtest_on_failure__return_ok
(self)
t/unit/worker/test_request.py:2183
Methodtest_on_failure__unicode_exception
(self)
t/unit/worker/test_request.py:2169
Methodtest_on_failure__utf8_exception
(self)
t/unit/worker/test_request.py:2172
Methodtest_on_failure_acks_late
(self)
t/unit/worker/test_request.py:1396
Methodtest_on_failure_acks_late_reject_on_worker_lost_enabled
(self)
t/unit/worker/test_request.py:1376
Methodtest_on_failure_acks_on_failure_false_rejects
acks_on_failure=False should reject (not requeue) on regular failure.
t/unit/worker/test_request.py:1553
Methodtest_on_failure_acks_on_failure_or_timeout_disabled
(self)
t/unit/worker/test_request.py:1507
Methodtest_on_failure_acks_on_failure_or_timeout_disabled_for_task
(self)
t/unit/worker/test_request.py:1475
Methodtest_on_failure_acks_on_failure_or_timeout_enabled
(self)
t/unit/worker/test_request.py:1525
Methodtest_on_failure_acks_on_failure_or_timeout_enabled_for_task
(self)
t/unit/worker/test_request.py:1493
Methodtest_on_failure_acks_on_failure_true_independent_of_timeout
acks_on_failure=True should ack on regular failure regardless of acks_on_timeout.
t/unit/worker/test_request.py:1539
Methodtest_on_failure_backward_compat_old_combined_flag
When only old combined flag is set, bind() resolves new flags from it.
t/unit/worker/test_request.py:1620
Methodtest_on_failure_exit_from_task_itself_is_worker_lost
(self, exc, status)
t/unit/worker/test_request.py:1444
Methodtest_on_failure_mixed_acks_on_failure_true_timeout_false
Main use case: ack failures (dead letter) but requeue timeouts.
t/unit/worker/test_request.py:1589
Methodtest_on_failure_propagates_MemoryError
(self)
t/unit/worker/test_request.py:335
Methodtest_on_failure_reads_the_backend_only_when_the_worker_is_lost
(self)
t/unit/worker/test_request.py:2361
Functiontest_on_failure_returns_fast_with_unreachable_backend
Integration test: a real backend connection failure should not block on_failure() indefinitely. With the bounded retry, it should fail fast
t/integration/test_request_backend_down.py:27
Methodtest_on_failure_should_terminate
(self)
t/unit/worker/test_request.py:1671
Methodtest_on_failure_task_cancelled
(self)
t/unit/worker/test_request.py:1655
Methodtest_on_failure_timelimit_uses_acks_on_timeout_not_failure
TimeLimitExceeded in on_failure should use acks_on_timeout, not acks_on_failure.
t/unit/worker/test_request.py:1570
Methodtest_on_hard_timeout_acks_late
(self, patching)
t/unit/worker/test_request.py:1697
Methodtest_on_hard_timeout_acks_on_failure_or_timeout
(self, patching)
t/unit/worker/test_request.py:1714
Methodtest_on_hard_timeout_acks_on_timeout_false_requeues
on_timeout with acks_on_timeout=False should reject with requeue.
t/unit/worker/test_request.py:1764
Methodtest_on_hard_timeout_acks_on_timeout_true
on_timeout with acks_on_timeout=True should acknowledge regardless of acks_on_failure.
t/unit/worker/test_request.py:1749
Methodtest_on_hard_timeout_calls_after_return
Hard timeout must invoke task.after_return when overridden.
t/unit/worker/test_request.py:1855
Methodtest_on_hard_timeout_calls_task_on_failure
Hard timeout must invoke task.on_failure so user hooks fire.
t/unit/worker/test_request.py:1810
Methodtest_on_hard_timeout_clears_synthetic_traceback
exc.__traceback__ must be None after on_timeout returns (memory leak fix #8882). The synthetic traceback created to build ExceptionInfo captu
t/unit/worker/test_request.py:1882
Methodtest_on_hard_timeout_sends_task_failed_event
Hard timeout must emit a task-failed monitoring event.
t/unit/worker/test_request.py:1841
Methodtest_on_hard_timeout_sends_task_failure_signal
Hard timeout must send the task_failure signal.
t/unit/worker/test_request.py:1824
Methodtest_on_import_modules
(self)
t/unit/fixups/test_django.py:48
Methodtest_on_import_modules_fixup_with_proxy_app
(self)
t/unit/fixups/test_django.py:314
Methodtest_on_import_modules_only_for_own_app
(self)
t/unit/fixups/test_django.py:300
← previousnext →7,501–7,600 of 9,499, ranked by callers