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

tests(storage): add universe domain integration test #14728

Merged
merged 5 commits into from
Oct 1, 2024

Conversation

ddelgrosso1
Copy link
Contributor

@ddelgrosso1 ddelgrosso1 commented Sep 24, 2024

This change is Reviewable

@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Sep 24, 2024
Copy link
Member

@scotthart scotthart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 7 files reviewed, 1 unresolved discussion (waiting on @ddelgrosso1)


ci/cloudbuild/builds/universe-domain-storage.sh line 29 at r1 (raw file):

if [[ -n "${UD_SA_KEY_FILE}" ]]; then
  ud::bazel_run //google/cloud/storage/tests:universe_domain_integration_test

As this is a test using gtest infrastructure, I would look at adding a ud::bazel_test, if necessary, or just using bazel test

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 26.31579% with 28 lines in your changes missing coverage. Please review.

Project coverage is 93.41%. Comparing base (bc28dc9) to head (3356080).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
.../storage/tests/universe_domain_integration_test.cc 26.31% 28 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14728      +/-   ##
==========================================
- Coverage   93.42%   93.41%   -0.02%     
==========================================
  Files        2314     2315       +1     
  Lines      207602   207640      +38     
==========================================
+ Hits       193952   193966      +14     
- Misses      13650    13674      +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ddelgrosso1
Copy link
Contributor Author

Realized I probably need to remove cmake from this due to #13495

@ddelgrosso1
Copy link
Contributor Author

Need to get the actual build running in CI.

@ddelgrosso1 ddelgrosso1 marked this pull request as ready for review September 25, 2024 13:16
@ddelgrosso1 ddelgrosso1 requested review from a team as code owners September 25, 2024 13:16
Copy link
Contributor Author

@ddelgrosso1 ddelgrosso1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 7 files reviewed, 1 unresolved discussion (waiting on @scotthart)


ci/cloudbuild/builds/universe-domain-storage.sh line 29 at r1 (raw file):

Previously, scotthart (Scott Hart) wrote…

As this is a test using gtest infrastructure, I would look at adding a ud::bazel_test, if necessary, or just using bazel test

Done.

add and modify builds

adding perms

checkers

skip tests if missing UD vars

cleanup

checkers

use tags to filter test not TEST_SKIP

fix testoptions

fix testoptions

checkers

skip test if environment variables missing

remove test from cmake build

remove module.bazel

remove storage specific universe domain build scripts

update copyright date

create ud:bazel_test to copy environment variables to test env

include common bazel args

utilize runfiles to read ud_sa_key_file

debug code

more debug code

symlink temp file

fix vars

remove runfiles

remove testing code

use run

debug

use test

add sandbox_add_mount_pair to bazel test
@ddelgrosso1 ddelgrosso1 marked this pull request as ready for review October 1, 2024 15:04
Copy link
Member

@scotthart scotthart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r4, 3 of 4 files at r5, 3 of 3 files at r6, all commit messages.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @bajajneha27)

@ddelgrosso1 ddelgrosso1 enabled auto-merge (squash) October 1, 2024 20:38
@ddelgrosso1 ddelgrosso1 merged commit 1360b76 into googleapis:main Oct 1, 2024
71 of 72 checks passed
@ddelgrosso1 ddelgrosso1 deleted the ud-storage-test branch October 1, 2024 21:32
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.

3 participants