Skip to content

Test fails depending on the order they are run #2098

Description

@oliwenmandiamond

If you attempt to run dodal/tests/common/beamlines/test_device_instantiation.py::test_device_creation, it will fail. If you run dodal/tests/common/beamlines/ so every test for beamlines, it will pass. This means we have test environments depending on each which means each test is not tested independently and causes lots of weirdness depending on the order they are run in. The order should not matter for how tests are run.

This should be investigated to fix and will probably find more tests that depend one each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions