Piotr Kiełkowicz
689bbb4f76
Cleanup usings ( #2191 )
2023-02-13 09:36:00 +00:00
Piotr Kiełkowicz
7f52c26bbf
IntegrationTests - enable nullable ( #1828 )
...
* Remove redundant nullable
* Nullable for IntegrationTests
* dotnet-format
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-12-19 19:02:54 +00:00
Piotr Kiełkowicz
5782c35eb2
Drop .NET Core 3.1 support ( #1603 )
2022-11-10 08:38:11 +00:00
Robert Pająk
3656f610bc
Refactor TestHttpServer and fix HttpListener leakage ( #1545 )
2022-11-08 11:21:22 +00:00
Robert Pająk
c587f56bc5
Refine tests to reduce usage of optional args and optimize defaults ( #1543 )
2022-11-08 08:29:15 +01:00
Robert Pająk
ad16e9c11e
Refine MockMetricsCollector and metrics tests ( #1276 )
...
* Refine MockMetricsCollector and metrics tests
* Add missing metrics expectation in AspNetTests
* Fix checking InstrumentationScopeName
* Remove space
* Fix AssertExpectations and cleanup
* Fix missingExpectations loop
* Do not expect OpenTelemetry.Instrumentation.Http in AspNetTests
* Refine AssertExpectations in MockMetricsCollector
* Refine looping logic in AssertExpectations
* Fix race condition
* Better comment
2022-09-26 16:51:09 -07:00
Piotr Kiełkowicz
c5527e4533
Ensure that mock collectors are available ( #1270 )
...
* Healthzz for MockZipkinCollector
* Healthzz for MockMetricCollector
* Healthzz for MockLogsCollector
* Extract HealthZ handler to common class
2022-09-23 11:01:19 -07:00
Robert Pająk
554c0c09b2
Fix race condition in mock collectors ( #1254 )
...
* Fix race condition in mock collectors
* Add missing lines
* Fix build
* Revert one little change
* Remove usage of timeout when calling WaitFor
* Same as before
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-09-21 19:41:53 +00:00
Piotr Kiełkowicz
ee32f06069
Test source instrumentation without CLR Profiler ( #1084 )
...
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-08-17 12:44:30 -07:00
Rasmus Kuusmann
c083d5f81d
Enable all metrics by default ( #934 )
...
* Enable all metrics by default
* fix asp.net metrics tests
* typo fix
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-07-14 12:46:40 -07:00
Rajkumar Rangaraj
454070ad30
Add Runtime metrics test ( #900 )
2022-07-05 21:53:27 +02:00