Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Unit tests for failures #5

Description

@sandrinodm

Currently cron jobs run in the same container that are also serving rules and custom database connections. If an unhandled exception happens here, or the callback is not called for any reason, this might cause the container to be quarantined (impacting rules and database connections).

It would be good to have some unit tests that test the actual webtask and trigger some errors:

I noticed the harness folder (which are more like integration tests), but ideally here we would just have some unit tests with mocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions