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: add createBucket file and updated relevant test #940

Merged
merged 20 commits into from
Dec 9, 2019
Merged

Conversation

sofisl
Copy link
Contributor

@sofisl sofisl commented Nov 20, 2019

Fix: internal reference b/144088253

@sofisl sofisl added the cla: yes This human has signed the Contributor License Agreement. label Nov 20, 2019
@sofisl sofisl requested a review from fhinkel November 20, 2019 00:38
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Nov 20, 2019
@sofisl sofisl changed the title Fix: add createBucket file and updated relevant test fix: add createBucket file and updated relevant test Nov 20, 2019
@sofisl sofisl added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Nov 20, 2019
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@sofisl
Copy link
Contributor Author

sofisl commented Nov 20, 2019

@fhinkel - I'm not sure why the build test isn't passing. It seems to be an issue with the storage.ts test under system-test, but I didn't touch that test, and confirmed that it's up-to-date with the master branch. Not sure if I'm missing something or if it's a bug...

@fhinkel
Copy link
Contributor

fhinkel commented Nov 20, 2019

@sofisl I don't see right away why the system test is failing. But there are hundreds of tests, I wonder if the new test is somehow messing with the system tests, because it is creating a bucket and not deleting it.

Can you delete the existing createBucket code and test in the sample. And we should change the new test to delete the bucket at the end of the test run. Otherwise we're left with a bucket after running the test once.

@jkwlui jkwlui added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 20, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 20, 2019
@bcoe bcoe added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 20, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 20, 2019
@bcoe
Copy link
Contributor

bcoe commented Nov 20, 2019

@sofisl @fhinkel I have a hunch that this is a flaky test, just kicked off the build to hopefully confirm.

@codecov
Copy link

codecov bot commented Nov 20, 2019

Codecov Report

Merging #940 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #940   +/-   ##
=======================================
  Coverage   95.41%   95.41%           
=======================================
  Files          11       11           
  Lines        1242     1242           
  Branches      309      309           
=======================================
  Hits         1185     1185           
  Misses         29       29           
  Partials       28       28

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fea60c...a17b926. Read the comment docs.

@fhinkel
Copy link
Contributor

fhinkel commented Nov 22, 2019

Don't we need to delete the existing createBucket sample? I only see code additions.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Dec 3, 2019
@sofisl sofisl added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Dec 3, 2019
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@sofisl sofisl added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Dec 3, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Dec 3, 2019
@sofisl
Copy link
Contributor Author

sofisl commented Dec 3, 2019

@fhinkel - I think the system test is still flaky, this is the error - https://screenshot.googleplex.com/MZ27aYXMaeD

Otherwise all the tests have passed

@bcoe bcoe added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2019
@bcoe bcoe added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2019
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Dec 7, 2019
@sofisl sofisl added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Dec 7, 2019
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

Copy link
Contributor

@bcoe bcoe left a comment

Choose a reason for hiding this comment

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

This looks great to me, we should update existing samples in cloud.google.com referencing the old file, however, before we land.

Please feel free to loop me in on that review.

@bcoe bcoe added the status: blocked Resolving the issue is dependent on other work. label Dec 9, 2019
@sofisl
Copy link
Contributor Author

sofisl commented Dec 9, 2019

@fhinkel - waiting on CL to be approved to merge cl 284587412

@bcoe bcoe merged commit 913b43e into master Dec 9, 2019
@bcoe bcoe deleted the createBucket branch December 9, 2019 21:07
@fhinkel
Copy link
Contributor

fhinkel commented Dec 11, 2019

@sofisl Sorry I didn't see this. Always better to ping me on chat rather than relying on GitHub notifications. LGTM! Thanks

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. status: blocked Resolving the issue is dependent on other work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants