这是indexloc提供的服务,不要输入任何密码
Skip to content

samples(storage batch operations): add samples and tests for storage batch operations #3127

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

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

Conversation

mahendra-google
Copy link
Contributor

This PR contains samples and test cases to create, list, get, cancel and delete storage batch job operations.

The region tags used to create samples are as below:-

  • 1. storage_batch_create_job

  • 2. storage_batch_list_jobs

  • 3. storage_batch_get_job
  • 4. storage_batch_cancel_job
  • 5. storage_batch_delete_job

@mahendra-google mahendra-google requested review from a team as code owners June 23, 2025 13:31
Copy link

snippet-bot bot commented Jun 23, 2025

Here is the summary of changes.

You are about to add 5 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jun 23, 2025
@purva9413 purva9413 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 23, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 23, 2025
@mahendra-google
Copy link
Contributor Author

mahendra-google commented Jun 27, 2025

@purva9413 After looking at errors from build log , I think Storage Batch Operations APIs are not enabled on both Kokoro servers i.e. Kokoro CI Linux 3 and Kokoro CI Windows 3.

@purva9413 purva9413 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 30, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 30, 2025
@purva9413 purva9413 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 1, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 1, 2025
@purva9413
Copy link

The API has been enabled but there are failing tests. Please take a look and also please address comments from the review. Thanks!

@mahendra-google
Copy link
Contributor Author

@purva9413 This test is not failing locally. Could you add kokoro label once I have done some code changes?

@purva9413 purva9413 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 17, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 17, 2025
@mahendra-google
Copy link
Contributor Author

mahendra-google commented Jul 23, 2025

@purva9413 Could you add kokoro label again?. This time I have added the null-conditional operator (?.) for all retrievedResponse properties and also added console logs to print those individual values to find exactly which value is null.

@purva9413 purva9413 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 24, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 24, 2025
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