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

chore: make test prefix unique per run #363

Merged
merged 2 commits into from
Feb 28, 2019
Merged

chore: make test prefix unique per run #363

merged 2 commits into from
Feb 28, 2019

Conversation

callmehiphop
Copy link
Contributor

We're seeing a bunch of seemingly random 404 errors in our CI system test job. I believe this is because we now have to 2 system-test jobs and our test prefix is not unique. I was going to use uuid but doing so puts us over the character limit.

@callmehiphop callmehiphop added the type: cleanup An internal cleanup or hygiene concern. label Feb 28, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 28, 2019
system-test/bigquery.ts Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Feb 28, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@baf0c72). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #363   +/-   ##
=========================================
  Coverage          ?   99.44%           
=========================================
  Files             ?        4           
  Lines             ?      544           
  Branches          ?       75           
=========================================
  Hits              ?      541           
  Misses            ?        2           
  Partials          ?        1

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 baf0c72...33f27f4. Read the comment docs.

@stephenplusplus
Copy link
Contributor

Ok! I figured out what is going on. We shouldn't change the prefix that we filter on. We use that to delete accidentally-created, stale datasets from previous test runs. Instead, we should only delete ones that are > 24 hours old, for example. That way, we'll avoid parallel CI-run collisions.

@stephenplusplus stephenplusplus self-assigned this Feb 28, 2019
@JustinBeckwith JustinBeckwith merged commit e5395ea into googleapis:master Feb 28, 2019
stephenplusplus added a commit that referenced this pull request Feb 28, 2019
stephenplusplus added a commit that referenced this pull request Feb 28, 2019
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. type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants