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

fix(storage): Skip only specific transport tests. #11016

Merged
merged 3 commits into from
Oct 23, 2024

Conversation

cjc25
Copy link
Contributor

@cjc25 cjc25 commented Oct 22, 2024

Some client tests only work with certain transports, so we try to skip them. However by calling t.Skip() before the per-transport t.Run(), we skipped every remaining sub-test once we hit that condition.

This changes the code to skip only the relevant transport, by skipping the testing.T for the sub-test.

Some client tests only work with certain transports, so we try to skip
them. However by calling `t.Skip()` before the per-transport `t.Run()`,
we skipped every remaining sub-test once we hit that condition.

This changes the code to skip only the relevant transport, by skipping
the testing.T for the sub-test.
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Oct 22, 2024
@cjc25 cjc25 marked this pull request as ready for review October 22, 2024 18:31
@cjc25 cjc25 requested review from a team as code owners October 22, 2024 18:31
@BrennaEpp BrennaEpp added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 22, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 22, 2024
@tritone tritone added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 22, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 22, 2024
@tritone tritone added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 23, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 23, 2024
@tritone tritone merged commit d40fbff into googleapis:main Oct 23, 2024
7 checks passed
@cjc25 cjc25 deleted the carlon-transport-test-fix branch October 23, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants