-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving CICD tests stability #1481
Conversation
I'm going to assume that I mean, playing locally, I can do the following:
Hence, if I retry the failing tests, giving some extra time for the container to run, the most of the MAPDL stabilities should be fixed. Well... not fixed, rather mitigated. |
Codecov Report
@@ Coverage Diff @@
## main #1481 +/- ##
==========================================
+ Coverage 80.32% 80.58% +0.26%
==========================================
Files 43 43
Lines 6779 6789 +10
==========================================
+ Hits 5445 5471 +26
+ Misses 1334 1318 -16 |
It works... kind of...
I think the stability has been improved overall. I can still do more, like checking the health of the docker image before running a test (that's going to be fun) |
Good idea. You can do that with a fixture that uses |
I think this is kind of working: https://github.com/pyansys/pymapdl/runs/8308521660?check_suite_focus=true#step:10:902
Still I got an issue here. I could try to use a higher delay time (3seconds?) and/or check docker health before running the command. First option is easier.... second is more fun. |
I think I'm going to use a higher delay (3s) and see how it is going. I will keep the docker health check for another occasion/PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* First approach * Changing time to 2 seconds * Upload the requirements * Preparing flag. * Update tests/test_grpc.py * Increasing delays and reruns.
Following duck typing....