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

fix prometheus flag #598

Merged
merged 3 commits into from
Sep 9, 2022
Merged

fix prometheus flag #598

merged 3 commits into from
Sep 9, 2022

Conversation

Voxelot
Copy link
Member

@Voxelot Voxelot commented Sep 8, 2022

When moving metrics out into their own crate, a feature flag for integration testing didn't get modified as needed. This was causing the following compilation warning:

warning: invalid feature `fuel-core/prometheus` in required-features of target `metrics_test`: feature `prometheus` does not exist in package `fuel-core v0.10.1 (/path/to/fuel-core/fuel-core)`

This PR fixes the warning and also restructures the metrics test to share the same test harness as other integ tests to avoid stressing the linker too much with multiple targets.

Copy link
Contributor

@ControlCplusControlV ControlCplusControlV left a comment

Choose a reason for hiding this comment

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

I didn't catch it my original PR since CI didn't catch it and I didn't notice warnings until after, so will be good to finally have this fixed

@Voxelot Voxelot merged commit 342532f into master Sep 9, 2022
@Voxelot Voxelot deleted the Voxelot/fix-prometheus-flag branch September 9, 2022 17:48
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.

2 participants