Commit Graph

11 Commits

Author SHA1 Message Date
Piotr Kiełkowicz 309c20b29b
[IntegrationTests] Support for testing multiple nuget package versions (#2230)
* TestApplication - Compile shared classes into TestApplications

* ApiVersion -> TestedPackageVersion

* IntegrationTests - do not override compilation constants

* Prepare StackExchangeRedisTests to execute multiple libraries

* Adjust TestApplication building path
to allow to build it for more than one library version

* typo fix

* remove redundant usings

* temporary use default lib version

* Unify restore process for Windows and Linux

* Fix path while testing scripts

* Redis - execute tests for set of libraries

* Bump StackExchange.Redis to 2.6.90 (test folder)

* Empty TestedPackageVersionsGenerator

* Generates files for xUnit and Build

* Include test version generator into pipeline

* Refactor generator

* dotnet-format

* Fix compilation issue

* Add MassTransit to multiple lib tests

* remove unused parameter

* add missing file from previous commit

* TestedPackageVersion -> LibraryVersion

* PR feedback make class internal

* Fix BaseIntermediateOutputPath

* PR feedback update header file

* Fix StackExchangeRedis multiple versions

* PR feedback - improve restore/build process
2023-02-22 08:42:03 -08:00
xiang17 a36ba28e55
Manage dependencies with Central Package Management (#2004) 2023-01-23 11:46:12 +00:00
xiang17 e8cce17b76
Bump OTel 1.4.0-rc.2 (#1967)
* Bump OTel 1.4.0-rc.2

* Bump version for `OpenTelemetry.Instrumentation.Runtime` and `OpenTelemetry.Instrumentation.Process`

* Update netfx redirection file.

* Extend changelog with standard comment for updated core packages

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-12 17:22:09 +00:00
Piotr Kiełkowicz 1b2dd22eaf
Bump OTel 1.4.0-rc.1 (#1748)
* Bump OTel to 1.4.0-rc.1

* ConfigureResource api was removed in https://github.com/open-telemetry/opentelemetry-dotnet/pull/3999

* Update limits based on
https://github.com/open-telemetry/opentelemetry-dotnet/pull/3978

* Fix build structure
OpenTelemetry references OpenTelemetry.Extensions.DependencyInjection package

* Fix ModuleTests

* Handle AspNetCore metrics changes
2022-12-13 07:19:04 -08:00
Rasmus Kuusmann 0b0aeec5af
Fix .NET Framework tests (#1698) 2022-11-30 17:53:12 +01:00
Piotr Kiełkowicz 617081bbd0
Separate extension points for signal options (#1689) 2022-11-29 15:16:03 +01:00
Piotr Kiełkowicz 4c4171c885
Bump OTel to 1.4.0-beta.3 (#1647)
* Bump OpenTelemetry.AutoInstrumentation dependencies to 1.4.0-beta.3
and other released to the newest versions

* Adjust setting up Prometheus exporter
based on https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md#140-alpha2

* Remove Microsoft.Extensions.Logging.Abstractions from duplicated libraries list
After upgrade all places references 7.0.0

* Reintroduce DiagnosticSource source to additional deps
it is needed by .NET 6 applications

* Bump Additional Dependencies to 7.0
as we should always bring the newest packages

* Use HttpClientInstrumentationOptions instead of HttpWebRequestInstrumentationOptions
based on 399fbcfaab

* Add Microsoft.Extensions.Configuration.EnvironmentVariables to Additional Store
introduced by f191e846d3

* Fix references in Smoke tests

* Update SourceNames for Http Instrumentation
due to https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.Http/CHANGELOG.md#100-rc96

* Change expected span names for Http Instrumentation
changes due to
d8c017079f
https://github.com/open-telemetry/opentelemetry-dotnet/pull/3415
8add3db43a

* Update Sql Integration name
due to https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.SqlClient/CHANGELOG.md#100-rc95

* Update tests dependencies

* Binding to System.Memory 4.0.1.2 to avoid conflicts with loaded library
Workaround will be fixed in scope of https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/issues/1646

* Update distributed structure

* Remove reference to HttpWebRequestInstrumentationOptions
from documentation. It was removed from instrumentation package

* Dotnet format fix

* Propagate workaround from 411e778fac to TestApplication.Http.NetFramework

* Bump OpenTelemetry.Instrumentation.Runtime to 1.1.0-beta.1

* Remove todo comment
we expect that it will be needed shortly

* Remove DiagnosticSource reference from TestApplication.Http
It is not used in the application, so it is loaded from additional store

* Update documentation
2022-11-25 07:44:59 +01:00
Rasmus Kuusmann 79ff7dc750
Support options change in plugins (#1542) 2022-11-08 08:55:56 +00:00
Piotr Kiełkowicz 24f151de04
Bump OTel Core Components to 1.3.1 (#1182) 2022-09-08 09:08:50 -07:00
Piotr Kiełkowicz ecfe880ce1
Common method to write testapp header (#936)
* Common method to write testapp header

* code review feedback

* code review feedback
2022-07-15 09:38:31 -07:00
Robert Pająk 77998bde98
Add PluginsTests (#910)
* Add PluginsTests

* Refactor RunTestApplicationAndWaitForExit

* Refactor MockZipkinCollector

* Refactor MockCollector

* Update test/IntegrationTests/Helpers/TestHelper.cs

Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>

* Update PluginsTests.cs

Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-07-01 11:53:02 -07:00