Skip to content

Investigate random test failures in jobcontroller's test_queue_consumer.py (and possibly others?) #359

@esmith1729

Description

@esmith1729

Description of the issue

There are random test failures in pytest-jobcreator workflow, depending on what order the tests are run in. Known tests are:

  • test_message_handler_on_json_decode_error - AssertionError: Expected 'error' to be called once. Called 0 times.
  • test_message_handler - TypeError: test_start_consumer_will_handle_exceptions_as_warnings..raise_exception() takes 0 positional arguments but 1 was given
  • There may be others

This may be due to test clean up not occurring properly, or something like that. investigate and try to fix these.

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