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

test: Add integration tests for downscoping #837

Merged
merged 2 commits into from
Aug 16, 2021
Merged

test: Add integration tests for downscoping #837

merged 2 commits into from
Aug 16, 2021

Conversation

bojeil-google
Copy link
Contributor

This tests creates a temporary bucket and 2 objects in it.
A downscoped token is then created to access only one of the objects (readonly).
The test would then check:

  • Read access to accessible object is successful.
  • Write access to that object is unsuccessful.
  • Read access to the inaccessible object is not successful.

This tests creates a temporary bucket and 2 objects in it.
A downscoped token is then created to access only one of the objects (readonly).
The test would then check:
- Read access to accessible object is successful.
- Write access to that object is unsuccessful.
- Read access to the inaccessible object is not successful.
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 16, 2021
@tseaver tseaver added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 16, 2021
@tseaver
Copy link
Contributor

tseaver commented Aug 16, 2021

@bojeil-google Unfortunately, your PR has landed in a pocket where the system tests are not being run on Kokoro. @dandhlee is working to correct that issue (see #836). Please hold off merging here until master has those tests running / passing in the Kokoro system-3.7 job, and then merge master to your branch.

@dandhlee
Copy link
Contributor

@tseaver The system test does run, but it just doesn't show up on the dashboard here. I can see on the log that both the presubmit and system-3.7 has run successfully.

@dandhlee dandhlee removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 16, 2021
@arithmetic1728 arithmetic1728 merged commit ed8e035 into googleapis:master Aug 16, 2021
@arithmetic1728
Copy link
Contributor

@bojeil-google please take a look at @tseaver 's comments

@bojeil-google
Copy link
Contributor Author

All comments were addressed in #838

tseaver added a commit that referenced this pull request Aug 16, 2021
Addresses all comments from:
#837

Co-authored-by: Tres Seaver <tseaver@palladion.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants