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

Move fixtures to testdata folder #447

Merged
merged 1 commit into from Jun 7, 2022

Conversation

dprotaso
Copy link
Contributor

@dprotaso dprotaso commented May 4, 2022

This prevents the test fixtures from being shipped around in the module
cache. ie. Prior if project A has a dependency on this project then running
go mod vendor will pull the fixtures.ttar into the vendor folder

@dprotaso dprotaso force-pushed the fixture-to-testdata branch 8 times, most recently from b63c923 to 07c6318 Compare May 4, 2022 17:40
This prevents the test fixtures from being shipped around in the module
cache. ie. Prior if project A has a dependency on this project then running
`go mod vendor` will pull the fixtures.ttar into the vendor folder

Signed-off-by: dprotaso <dprotaso@gmail.com>
@dprotaso
Copy link
Contributor Author

dprotaso commented May 4, 2022

@SuperQ this is ready

@discordianfish
Copy link
Member

Oh I did not know that testdata/ is treated differently. Interesting. But LGTM in general.

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks!

@SuperQ SuperQ merged commit 80eb609 into prometheus:master Jun 7, 2022
@dprotaso dprotaso deleted the fixture-to-testdata branch June 7, 2022 14:43
remijouannet pushed a commit to remijouannet/procfs that referenced this pull request Oct 20, 2022
This prevents the test fixtures from being shipped around in the module
cache. ie. Prior if project A has a dependency on this project then running
`go mod vendor` will pull the fixtures.ttar into the vendor folder

Signed-off-by: dprotaso <dprotaso@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants