rdmorganiser / rdmo

A tool to support the planning, implementation, and organization of research data management.
https://rdmorganiser.github.io
Apache License 2.0
105 stars 49 forks source link

ci: investigate failing tests #1087

Closed afuetterer closed 4 months ago

afuetterer commented 4 months ago

Description

This PR runs a few tests on repeat to try to reproduce the failing test cases reported in #1086.

On failing test cases was:

rdmo/projects/tests/test_view_project_create_import.py::test_project_create_import_post_import_file[site-site]

Ref: https://github.com/rdmorganiser/rdmo/actions/runs/10112894609/job/27968084168#step:10:625

Related issue: #1086

Types of Changes

Checklist

afuetterer commented 4 months ago

@MyPyDavid Well, I don't know. The failing test ran 1000 times without failure.

afuetterer commented 4 months ago

We can also use this: https://github.com/pytest-dev/pytest-rerunfailures

If a single test fails, and a rerun makes it pass?

As I said, I am unsure why these sometimes failed. Maybe a hickup in GHA?

The tests ran 1000 times without failure. :)