Skip to content

Conversation

@raph-luc
Copy link
Member

@raph-luc raph-luc commented May 25, 2023

tests/test_streaming_services.py::test_transcript has been randomly failing on github test runners, likely due to it being a server-side stress test, and this has been blocking PRs

Examples where it first failed, then passed on re-run without any changes:
https://github.com/ansys/pyfluent/actions/runs/5082325343/jobs/9131963505?pr=1640
https://github.com/ansys/pyfluent/actions/runs/5082183987/jobs/9131631586?pr=1639
https://github.com/ansys/pyfluent/actions/runs/5016027626/jobs/8992408253

As @mkundu1 suggested, one possible way to deal with this is to use a better runner, and that is what this PR is doing by changing it to a self-hosted pyfluent runner

If it continues randomly failing we will have to rework this test

CC: @prmukherj

update: tests/test_session.py::test_journal_creation has been failing for no reason too (e.g. https://github.com/ansys/pyfluent/actions/runs/5082325343/jobs/9132695993 and https://github.com/ansys/pyfluent/actions/runs/5082965763/jobs/9133417557?pr=1641), we can use this PR for that one as well

adding small delays between actions in the tests/test_session.py::test_journal_creation, to give the file system some time to work through the changes

@raph-luc raph-luc changed the title Trying self-hosted for test_transcripts stress test Attempt to fix tests that are randomly failing May 25, 2023
@raph-luc raph-luc marked this pull request as ready for review May 25, 2023 18:43
Copy link
Collaborator

@seanpearsonuk seanpearsonuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work @raph-luc

@raph-luc raph-luc merged commit f6d19e3 into main May 26, 2023
@raph-luc raph-luc deleted the fix/test_transcripts branch May 26, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants