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: fix zalgo flakiness in seek tests, and convert them to async/promises to make the logic more rigorous #1112

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

feywind
Copy link
Collaborator

@feywind feywind commented Sep 22, 2020

Fixes: #1105
Fixes: #1106

I guess in the long run, it's debatable if the async/Promise changes made it more readable, but I think it did uncover some more potentially flaky behaviors that hadn't bitten us yet.

@feywind feywind requested review from a team as code owners September 22, 2020 22:44
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 22, 2020
@codecov
Copy link

codecov bot commented Sep 22, 2020

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1112   +/-   ##
=======================================
  Coverage   97.78%   97.78%           
=======================================
  Files          25       25           
  Lines       11066    11066           
  Branches      595      546   -49     
=======================================
  Hits        10821    10821           
  Misses        241      241           
  Partials        4        4           

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 82ab0ba...1fa6ad7. Read the comment docs.

Copy link
Contributor

@JustinBeckwith JustinBeckwith left a comment

Choose a reason for hiding this comment

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

L̶̢̨̘͈̼̣̹̼̖͒̏̒̅͘ͅG̷̨̡̮͇̟̙̝̥̘͇̓͊̓̍͜͜͠T̶̢͕̫̣̠͚̳̝̈́́̃̽̃̈͑̓M̶̛̤̱͉͆̃̆͛͛̅́̍̀͜

@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/nodejs-pubsub API. label Sep 23, 2020
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.

awesome 😄

@feywind feywind merged commit ee2081b into googleapis:master Sep 28, 2020
@feywind feywind deleted the gh1105-zalgo-seek branch September 28, 2020 23:04
gcf-owl-bot bot added a commit that referenced this pull request Jun 9, 2021
VERSION is used in @google-cloud/cloud-rad to publish ref docs for
a particular version. Pass VERSION in via Stubby or Fusion.
Source-Link: googleapis/synthtool@740366b
Post-Processor: gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:bbdd52de226c00df3356cdf25460397b429ab49552becca645adbc412f6a4ed5
gcf-merge-on-green bot pushed a commit that referenced this pull request Jun 9, 2021
VERSION is used in @google-cloud/cloud-rad to publish ref docs for
a particular version. Pass VERSION in via Stubby or Fusion.
Source-Link: googleapis/synthtool@740366b
Post-Processor: gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:bbdd52de226c00df3356cdf25460397b429ab49552becca645adbc412f6a4ed5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/nodejs-pubsub API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
3 participants