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(lantern): correctly clear old trace data #13809

Merged
merged 4 commits into from
Apr 18, 2022
Merged

Conversation

connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Apr 1, 2022

there are two versions of lantern data. the first one didn't have a "version" file, the second (And any future ones) do. the logic for deleting the old data didn't take into account that the version file would be missing

oops :)


curl -o golden-lantern-traces.zip -L https://storage.googleapis.com/lh-lantern-data/golden-lantern-traces-$VERSION.zip

unzip -q golden-lantern-traces.zip
rm golden-lantern-traces.zip
echo $VERSION > version
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

minor thing, this is better in case the unzipping failing halfway bc user accidentally cancels.

@connorjclark
Copy link
Collaborator Author

image

this makes zero sense

@adamraine
Copy link
Member

this makes zero sense

I think it's cuz the tests haven't all finished yet (citation needed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants