Commit Graph

10 Commits

Author SHA1 Message Date
Mateusz Łach 19f4480590
[WCF] Automated test for iis-hosted service scenario (#2576) 2023-05-26 12:08:39 +02:00
Piotr Kiełkowicz c6da3d32c6
Nuke: drop unused const (#2545)
nuke - drop unused constants
2023-05-18 10:45:23 +00:00
Zach Montoya df78d34cb9
Update native code (#2280)
* Port all of the changes to the native product and native tests

* Pass integrations to the profiler via C# and PInvoke, instead of integrations.json

* Delete integrations.json and remove environment variable OTEL_DOTNET_AUTO_INTEGRATIONS_FILE

* Add ByRef improvements to the CallTarget infrastructure:
- struct CallTargetReturn/CallTargetReturn<T> is now a readonly ref struct
- Pass CallTargetState by ref into EndMethod integration callbacks
- Pass input arguments by ref into BeginMethod integration callbacks

See f2cbb4ba93

* Really small changes to CallTarget infrastructure

* Fix build when using C#11

* Run format-native.sh

* Update native headers

* Fix possible null reference exception

* Fix changelog lint error

* Fix yet another native header issue

* Skip the StrongNamedTests for now

* Add the instrumentation type ("Trace|Log|Metric") and the instrumentation name (e.g. "GraphQL") to each instrumentation to allow for enabling and disabling integrations via environment variables

* Fix native format errors

* Fix the StackExchangeRedis integration definitions, which should resolve the integration test issues for the CustomSdkTests case and the StackExchangeRedisTests case

* Drop: Temporary launchSettings.json

* Commit updates to NServiceBus to try and resolve multiple System.Diagnostics.DiagnosticSource dll's getting loaded

* Add DiagnosticSource package reference to fix .NET Frameowrk test applications

* Add test skip for "TestApplication.StrongNamedValidation" spans, and document the GH issue that tracks the follow-up work

* Remove Datadog log prefix

* PR feedback: Update comments in NativeCallTargetDefinition.cs to keep the native call target definitions struct in-sync on the managed and native side

---------
2023-04-14 07:24:06 +02:00
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
Rasmus Kuusmann 6e3a1ec197
Install netfx dlls to GAC for tests (#2164)
* Install netfx dlls to GAC before integration test

* fix run order

* Update tools/GacInstallTool/Program.cs

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>

* remove before

* add packages.props reference

* add comment

* Add possibility to uninstall

* pr feedback

---------

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-02-07 12:47:54 -08:00
xiang17 622e437541
Added a benchmark project for StartupLogger's `SetStartupLogFilePath` (#2067) 2023-01-26 06:32:16 +01:00
Paulo Janotti aea9a0dbe7
Automate generation of integrations.json file (#1996)
Automate IntegrationsJsonGenerator
2023-01-17 18:16:56 -08:00
Rasmus Kuusmann 50ab2d2ff6
Update TestApplication.AspNet (#1910)
* change aspnet testapplication name to match the pattern

* rename missing places

* fix aspnet test
2023-01-09 15:29:26 -08:00
Rasmus Kuusmann 8f6f83b688
Refactor solution setup (#1895)
* refactor solution

* fix missing mock project

* fix native windows compile

* run integrations anycpu

* fix test apps platform

* fix win restore

* fix asp.net restore

* fix win legacy restore dir

* fix native restore

* fix legacy restore

* fix missing windows only test apps compile

* cleanup

* Update build/Build.Steps.cs

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>

* Cleanup commented code

* cleanup PublishIisTestApplications

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-08 19:38:47 -08:00
Robert Pająk 0458c2057b
Repository organization cleanup (#1391)
* Repository organization cleanup

* Fix .sln

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-10-10 21:18:21 +00:00