- Notifications
You must be signed in to change notification settings - Fork 135
test: skip backup test if it takes too long #684
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
Conversation
Codecov Report
@@ Coverage Diff @@ ## master #684 +/- ## ========================================= Coverage 84.12% 84.13% - Complexity 2509 2512 +3 ========================================= Files 142 142 Lines 13911 13911 Branches 1323 1323 ========================================= + Hits 11703 11704 +1 - Misses 1662 1663 +1 + Partials 546 544 -2
Continue to review full report at Codecov.
|
I am not sure this is the best way to tackle this flakiness, because the backup not finishing might be an indication of a real problem. This test would then be non-deterministic in this case, we would not know if it was skipped due to a real failure or due to taking too long. I am wondering if we should not remove this test entirely. |
We could also consider assigning it a separate category that is skipped by default, but that is included in nightly (or other specific) builds. |
Warning: This pull request is touching the following templated files:
|
@olavloite I think that works, thanks for fixing it |
@thiagotnunes I'm afraid that this works locally, but not in CI at the moment. It complains about two things:
Any idea how to fix that? |
@olavloite ah ok, there is a file I can modify to allow for that env var. There is one env var that is already defined that maybe we can use: |
Warning: This pull request is touching the following templated files:
|
I tried with
|
I'm inclined to close this PR as the backup tests have started being successful again lately. It might be that these problems were a side effect of the problems that we were seeing with |
@olavloite I agree |
…cies to v2.5.1 (googleapis#684) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.5.0` -> `2.5.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-shared-dependencies</summary> ### [`v2.5.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​251-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare250v251-2021-12-03) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.5.0...v2.5.1) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-spanner-jdbc).
🤖 I have created a release \*beep\* \*boop\* --- ### [2.5.5](https://www.github.com/googleapis/java-spanner-jdbc/compare/v2.5.4...v2.5.5) (2021-12-03) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([googleapis#684](https://www.github.com/googleapis/java-spanner-jdbc/issues/684)) ([a2582d3](https://www.github.com/googleapis/java-spanner-jdbc/commit/a2582d3fbd3f0ea093477914e3a09af235e76595)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Fixes #683