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

More lenient error message check in test_save_push_failure #729

Merged
merged 1 commit into from
Jul 9, 2022

Conversation

serhiy-storchaka
Copy link
Contributor

For some reasons, the error message in tests/integration/test_jobs_service.py::TestJobsService::test_save_push_failure on my computer is now 'Get "https://unknown:5000/v2/": dial tcp: lookup unknown: Temporary failure in name resolution' instead of expected 'Get https://unknown:5000/v2/: dial tcp: lookup unknown' (added double quotes around a URL). This PR makes the test passing in both cases, with and without quotes.

@serhiy-storchaka serhiy-storchaka added the bug Something isn't working label Jul 9, 2022
@codecov
Copy link

codecov bot commented Jul 9, 2022

Codecov Report

Merging #729 (f4b0238) into master (37e547f) will increase coverage by 0.09%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #729      +/-   ##
==========================================
+ Coverage   85.67%   85.76%   +0.09%     
==========================================
  Files          12       12              
  Lines        2080     2080              
  Branches      318      318              
==========================================
+ Hits         1782     1784       +2     
+ Misses        189      188       -1     
+ Partials      109      108       -1     
Flag Coverage Δ
integration 80.86% <ø> (+0.04%) ⬆️
unit 46.05% <ø> (ø)

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

Impacted Files Coverage Δ
platform_monitoring/kube_client.py 87.56% <0.00%> (+0.36%) ⬆️

@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) July 9, 2022 11:31
@serhiy-storchaka serhiy-storchaka merged commit 75fc633 into master Jul 9, 2022
@serhiy-storchaka serhiy-storchaka deleted the ss/test_save_push_failure branch July 9, 2022 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant