-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Run unit tests on Windows and fix them #10027
Conversation
0bb1a58
to
b0bf981
Compare
0f40856
to
1a40ade
Compare
@@ -279,49 +268,3 @@ func Test_Scraping_Wildcard(t *testing.T) { | |||
|
|||
require.GreaterOrEqual(t, len(counterVals), 3) | |||
} | |||
|
|||
// Test_Closing ensures that watchers close appropriately | |||
func Test_Closing(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed instead of fixing. This test doesn't test any production code, only mockPerfCounter
functionality.
1a40ade
to
3bb0d76
Compare
|
||
// Test_Scraping ensures that watchers watch appropriately using mocked perfcounters to | ||
// pass valus through | ||
func Test_Scraping(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed instead of fixing. This test doesn't test any production code, only mockPerfCounter
functionality.
f9daa4a
to
fff6fb5
Compare
9c5e713
to
2cc6acc
Compare
2cc6acc
to
54d2ee6
Compare
@open-telemetry/collector-contrib-approvers PTAL |
Enable all unit tests on Windows and fix them
Enable all unit tests on Windows and fix them
We have been running Windows tests only for couple receivers. This PR enables Windows unit tests for all modules and attempts to fix those that are failing.
Most of the failing tests are fixed in this PR. The following are still to be resolved: