summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the test suite on PyPyAlex Grönholm2022-09-221-1/+10
|
* Readded psycopg2 and pymysql store fixtures to the test suiteAlex Grönholm2022-09-211-1/+11
|
* Fixed missing schema with the psycopg2 store fixtureAlex Grönholm2022-09-211-1/+5
|
* Merged the Worker class into AsyncSchedulerAlex Grönholm2022-09-211-10/+12
|
* Major refactoringAlex Grönholm2022-09-215-1561/+710
| | | | | | | | - Made SyncScheduler a synchronous wrapper for AsyncScheduler - Removed workers as a user interface - Removed synchronous interfaces for data stores and event brokers and refactored existing implementations to use the async interface - Added the current_async_scheduler contextvar - Added job executors
* Fixed schema parameter in SQLAlchemyJobStore not being usedAlex Grönholm2022-09-121-1/+1
| | | | Fixes #664.
* Fixed private module imports in testsAlex Grönholm2022-09-072-2/+5
|
* Changed the scheduler API to require an explicit start callAlex Grönholm2022-09-041-4/+40
|
* Improved the asyncpg event brokerAlex Grönholm2022-09-031-5/+3
| | | | | | * It now recovers from a server disconnection * Replaced from_asyncpg_pool() with from_dsn() * Only copy the connection options from the async engine in from_async_sqla_engine()
* Added async Redis event broker and made the sync one resistant to ↵Alex Grönholm2022-09-031-2/+18
| | | | connectivity failures
* Fixed JSON/CBOR serialization of JobReleased eventsAlex Grönholm2022-09-031-0/+15
|
* Fixed flaky testAlex Grönholm2022-08-171-1/+1
|
* Formatted all code to fit within Black's 88 column limitAlex Grönholm2022-08-175-25/+29
|
* Added exception information to the JobReleased classAlex Grönholm2022-08-141-0/+18
|
* Added job expiration timesAlex Grönholm2022-08-132-37/+99
| | | | | Scheduled jobs no longer retain their results. All job outcomes are now logged by the workers. Workers, rather than data stores, are now responsible for emitting the JobReleased event.
* Added get_schedules() methods to the scheduler classesAlex Grönholm2022-08-091-0/+34
|
* Renamed the job_info contextvar into current_jobAlex Grönholm2022-08-091-3/+3
|
* Made the apscheduler.events module private and re-exported its codeAlex Grönholm2022-07-315-22/+24
|
* Made the apscheduler.context module private and re-exported its codeAlex Grönholm2022-07-301-1/+3
|
* Made the apscheduler.structures module private and re-exported its codeAlex Grönholm2022-07-303-14/+12
|
* Made the apscheduler.enums and apscheduler.exceptions modules private and ↵Alex Grönholm2022-07-305-7/+5
| | | | re-exported their code
* Changed get_schedule() to raise ScheduleLookupError when the target schedule ↵Alex Grönholm2022-07-301-2/+22
| | | | isn't found
* Fixed JSON serialization of frozensets and UUIDsAlex Grönholm2022-07-271-1/+1
|
* Implemented (un)marshalling for eventsAlex Grönholm2022-07-271-0/+28
| | | | This fixes JSON (de)serialization of certain events.
* Tested SQLAlchemy data store against MySQL, and fixed missing "await"Alex Grönholm2022-07-271-0/+20
|
* Improved the scheduler lifecycle managementAlex Grönholm2022-07-271-0/+22
| | | | Both sync and async schedulers now have consistently working stop() and wait_until_stopped() methods.
* Fixed get_task() failing in SQLAlchemy data storesAlex Grönholm2022-07-271-0/+19
|
* Fixed asyncpg event broker not having a "serializer" attributeAlex Grönholm2022-07-241-2/+1
|
* Added another missing pytest.fixture decoratorAlex Grönholm2022-07-241-0/+1
|
* Added missing pytest.fixture decoratorAlex Grönholm2022-07-241-0/+1
|
* Fixed CancelScope errors when the startup or shutdown of ↵Alex Grönholm2022-07-242-11/+50
| | | | AsyncDataStoreAdapter is cancelled
* Added support for starting the sync scheduler (and worker) without the ↵Alex Grönholm2022-07-194-419/+820
| | | | context manager
* Fixed test failuresAlex Grönholm2022-04-261-1/+1
|
* Fixed SQLAlchemy stores failing on multiple schedule releaseAlex Grönholm2022-04-201-34/+18
| | | | | This only happened where RETURNING was supported for updates (PostgreSQL). Fixes #621.
* Switched to Black for code formattingAlex Grönholm2022-04-2010-476/+851
|
* Fixed pre-commit errorsAlex Grönholm2022-04-181-1/+3
|
* Fixed ValueError in memory storeAlex Grönholm2022-04-181-0/+17
| | | | | | This occurred when two schedules were released simultaneously, with one being finished and one still running. Fixes #616.
* Fixed mypy errors in testsAlex Grönholm2022-02-153-24/+28
|
* Upgraded syntax and switched linting over to pre-commit.ciAlex Grönholm2022-01-026-10/+18
| | | | Linting checks are now run by pre-commit.ci instead of GitHub Actions.
* Implemented context-local variables for running jobsAlex Grönholm2021-09-211-0/+54
|
* Implemented schedule-level jitterAlex Grönholm2021-09-212-14/+106
| | | | Structures now keep enums, timedeltas and frozensets as-is. The MongoDB store was modified to use a custom type registry to handle this.
* Added scheduler methods for creating jobs directly w/o schedulesAlex Grönholm2021-09-132-14/+89
|
* Switched tests to Python 3.10 style annotationsAlex Grönholm2021-09-138-18/+27
|
* Implemented one-shot event subscriptionsAlex Grönholm2021-09-131-104/+53
| | | | Such subscriptions are delivered the first matching event and then unsubscribed automatically.
* Improved the event subscription systemAlex Grönholm2021-09-124-12/+12
| | | | The subscribe() method now returns a subscription which has the unsubscribe() method in itself.
* Reduced the number of job completion eventsAlex Grönholm2021-09-122-18/+16
|
* Applied the external_service mark to redis + mqtt tests tooAlex Grönholm2021-09-111-3/+6
|
* Applied pytest-lazy-fixture to data stores tooAlex Grönholm2021-09-112-222/+218
|
* Implemented a pluggable event broker systemAlex Grönholm2021-09-114-138/+281
|
* Rearranged the data storesAlex Grönholm2021-09-082-9/+9
|