Skip to content
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

✅ Is3569/flaky public api test #3634

Merged

Conversation

pcrespov
Copy link
Member

@pcrespov pcrespov commented Dec 1, 2022

What do these changes do?

Fixes flaky test in public api: the logfile sometimes is not ready and fails with 404. We retry a few times before giving up

Related issue/s

@pcrespov pcrespov self-assigned this Dec 1, 2022
@pcrespov pcrespov added the a:api framework api, data schemas, label Dec 1, 2022
@pcrespov pcrespov force-pushed the is3569/flaky-public-api-test branch from a63cc1e to 31d6662 Compare December 1, 2022 18:14
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

nice! thanks!

@codecov
Copy link

codecov bot commented Dec 1, 2022

Codecov Report

Merging #3634 (ae8b36a) into master (4b2db6c) will decrease coverage by 16.7%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3634      +/-   ##
=========================================
- Coverage    84.1%   67.4%   -16.8%     
=========================================
  Files         868     355     -513     
  Lines       36555   18128   -18427     
  Branches      782     133     -649     
=========================================
- Hits        30763   12223   -18540     
- Misses       5585    5856     +271     
+ Partials      207      49     -158     
Flag Coverage Δ
integrationtests 67.4% <ø> (+<0.1%) ⬆️
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...-v2/src/simcore_service_director_v2/cli/_client.py 0.0% <0.0%> (-100.0%) ⬇️
...v2/src/simcore_service_director_v2/cli/__init__.py 0.0% <0.0%> (-100.0%) ⬇️
...service_webserver/projects/_project_models_rest.py 0.0% <0.0%> (-100.0%) ⬇️
...service_director_v2/cli/_close_and_save_service.py 0.0% <0.0%> (-100.0%) ⬇️
...es/web/server/src/simcore_service_webserver/log.py 0.0% <0.0%> (-94.8%) ⬇️
...erver/src/simcore_service_webserver/rest_models.py 0.0% <0.0%> (-92.7%) ⬇️
...or-v2/src/simcore_service_director_v2/cli/_core.py 0.0% <0.0%> (-87.5%) ⬇️
...simcore_service_webserver/director/director_api.py 0.0% <0.0%> (-76.0%) ⬇️
...ce_director_v2/modules/db/repositories/clusters.py 23.0% <0.0%> (-71.7%) ⬇️
...rc/simcore_service_webserver/version_control_db.py 24.5% <0.0%> (-68.7%) ⬇️
... and 693 more

@sonarcloud
Copy link

sonarcloud bot commented Dec 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pcrespov pcrespov merged commit e7a1efb into ITISFoundation:master Dec 2, 2022
@pcrespov pcrespov deleted the is3569/flaky-public-api-test branch December 2, 2022 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:api framework api, data schemas,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky tests/public-api/test_solvers_jobs_api.py::test_run_job[FAILED]
4 participants