Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

fix: fix samples and samples tests for UptimeCheck. #909

Merged
merged 4 commits into from
Aug 10, 2022
Merged

Conversation

blakeli0
Copy link
Contributor

@blakeli0 blakeli0 commented Aug 9, 2022

UpdateUptimeCheck, GetUptimeCheck and DeleteUptimeCheck have been failing because they are not taking the correct argument, instead of passing in display name, we should pass in the full check name. Hence every time the test was triggered, a new uptime check was created but was not cleaned up correctly, eventually we reached the limit of uptime check in the testing project and CreateUptimeCheck started failing too.
fixes #850
fixes #851
fixes #863
fixes #871

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: monitoring Issues related to the googleapis/java-monitoring API. samples Issues that are directly related to samples. labels Aug 9, 2022
@blakeli0 blakeli0 added the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 9, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 9, 2022
@averikitsch averikitsch added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Aug 9, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 9, 2022
@blakeli0 blakeli0 merged commit 7143f96 into main Aug 10, 2022
@blakeli0 blakeli0 deleted the fix-samples-tests branch August 10, 2022 01:52
gcf-merge-on-green bot pushed a commit that referenced this pull request Aug 11, 2022
🤖 I have created a release *beep* *boop*
---


## [3.4.1](v3.4.0...v3.4.1) (2022-08-11)


### Bug Fixes

* fix samples and samples tests for UptimeCheck. ([#909](#909)) ([7143f96](7143f96))
* google-auth-library-oauth2-http is runtime scope ([#911](#911)) ([fb080db](fb080db))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot pushed a commit to meltsufin/monorepo-experiments that referenced this pull request Aug 12, 2022
🤖 I have created a release *beep* *boop*
---


## [3.4.1](googleapis/java-monitoring@v3.4.0...v3.4.1) (2022-08-11)


### Bug Fixes

* fix samples and samples tests for UptimeCheck. ([#909](googleapis/java-monitoring#909)) ([6ded514](googleapis/java-monitoring@6ded514))
* google-auth-library-oauth2-http is runtime scope ([#911](googleapis/java-monitoring#911)) ([fe4b919](googleapis/java-monitoring@fe4b919))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: monitoring Issues related to the googleapis/java-monitoring API. kokoro:force-run Add this label to force Kokoro to re-run the tests. samples Issues that are directly related to samples. size: s Pull request size is small.
Projects
None yet
3 participants