Skip to content

feat(storage): add Retry Test API to emulator#6611

Merged
coryan merged 8 commits intogoogleapis:mainfrom
frankyn:emulator-prototype
May 26, 2021
Merged

feat(storage): add Retry Test API to emulator#6611
coryan merged 8 commits intogoogleapis:mainfrom
frankyn:emulator-prototype

Conversation

@frankyn
Copy link
Copy Markdown
Contributor

@frankyn frankyn commented May 19, 2021

cc: @tritone

Adding Retry Test API support to the emulator


This change is Reviewable

@frankyn frankyn requested a review from a team May 19, 2021 03:12
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label May 19, 2021
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 19, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label May 19, 2021
@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: d7582b6c776931ba8099844673163abff39e74a6

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2021

Codecov Report

Merging #6611 (e19adff) into main (04e1b3a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #6611   +/-   ##
=======================================
  Coverage   95.82%   95.82%           
=======================================
  Files        1211     1211           
  Lines      107401   107401           
=======================================
  Hits       102914   102914           
  Misses       4487     4487           

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 04e1b3a...e19adff. Read the comment docs.

Copy link
Copy Markdown
Contributor

@coryan coryan left a comment

Choose a reason for hiding this comment

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

See below, I like the general direction btw.

Comment thread google/cloud/storage/emulator/emulator.py Outdated
Comment thread google/cloud/storage/emulator/tests/test_utils.py Outdated
Comment thread google/cloud/storage/emulator/tests/test_utils.py Outdated
Comment thread google/cloud/storage/emulator/README.md
Comment thread google/cloud/storage/emulator/README.md Outdated
Comment thread google/cloud/storage/emulator/tests/test_utils.py Outdated
Comment thread google/cloud/storage/emulator/emulator.py
Comment thread google/cloud/storage/emulator/tests/test_utils.py
Comment thread google/cloud/storage/emulator/utils/common.py Outdated
Comment thread google/cloud/storage/emulator/README.md
Comment thread google/cloud/storage/emulator/README.md Outdated
Comment thread google/cloud/storage/emulator/database.py
Comment thread google/cloud/storage/emulator/emulator.py
Comment thread google/cloud/storage/emulator/emulator.py
@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: 8caeba81dbd14c4941ac5f44c7a95034165f7833

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: 782d9f5ee0645cb42714c2baa6d8862bcf6a6b78

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: b996679af727df8380ef25478f7a839446249473

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: e729f58c793acfeda31d52ffd4a662c316564ce6

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@frankyn frankyn added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 24, 2021
@frankyn frankyn requested review from cojenco, coryan and tritone May 24, 2021 17:06
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 24, 2021
Copy link
Copy Markdown
Contributor

@coryan coryan left a comment

Choose a reason for hiding this comment

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

I think the motivation could be made crisper. But otherwise this LGTM.

Comment thread google/cloud/storage/emulator/README.md
Comment thread google/cloud/storage/emulator/README.md Outdated
Comment thread google/cloud/storage/emulator/utils/common.py
Comment thread google/cloud/storage/emulator/README.md Outdated
Copy link
Copy Markdown
Contributor

@tritone tritone left a comment

Choose a reason for hiding this comment

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

Looking good!

Comment thread google/cloud/storage/emulator/README.md
Comment thread google/cloud/storage/emulator/database.py
Comment thread google/cloud/storage/emulator/README.md
@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: 72f22b7c6987d6f7cd277fa9d78449869bed610d

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

Copy link
Copy Markdown
Contributor

@coryan coryan left a comment

Choose a reason for hiding this comment

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

LGTM


Sending a constant header with all RPCs can be implemented across all client libraries,
and to some degree decouples the test setup from the test execution.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: blank line ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

... i love extra empty lines.

@google-cloud-cpp-bot
Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: e19adff8772802846b8bbc3e2fe9474af63cacd9

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

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. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants