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

chore(testing): do not emit nil error formatting #3562

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

grayside
Copy link
Contributor

@grayside grayside commented Nov 9, 2023

Description

When using the cloudrunci retry mechanism, if multiple retries are made and the test fails without an error being reported, a nil error comes out. This was a distraction.

request: no acceptable response after 5 retries: %!w(<nil>))

This PR removes the nil error from output.

Checklist

  • I have followed Contributing Guidelines from CONTRIBUTING.MD
  • Tests pass: go test -v ./.. (see Testing)
  • Code formatted: gofmt (see Formatting)
  • Vetting pass: go vet (see Formatting)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

@grayside grayside self-assigned this Nov 9, 2023
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Nov 9, 2023
@subfuzion subfuzion marked this pull request as ready for review August 28, 2024 15:09
@subfuzion subfuzion requested review from a team as code owners August 28, 2024 15:10
@subfuzion subfuzion assigned subfuzion and unassigned grayside Aug 28, 2024
@subfuzion subfuzion added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@subfuzion subfuzion requested a review from a team as a code owner August 28, 2024 18:42
@subfuzion subfuzion added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@subfuzion subfuzion added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@subfuzion subfuzion added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@subfuzion subfuzion added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2024
@subfuzion subfuzion added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 29, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 29, 2024
@subfuzion subfuzion enabled auto-merge (squash) August 29, 2024 16:25
@subfuzion subfuzion marked this pull request as draft August 29, 2024 17:16
auto-merge was automatically disabled August 29, 2024 17:16

Pull request was converted to draft

@subfuzion
Copy link
Member

Converting back to draft on behalf of @grayside for now; will circle back to this later to investigate the test failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants