diff --git a/test/Elastic.Apm.Tests.Utilities/XUnit/DockerAttributes.cs b/test/Elastic.Apm.Tests.Utilities/XUnit/DockerAttributes.cs index dfa96d9eb..ccee058a2 100644 --- a/test/Elastic.Apm.Tests.Utilities/XUnit/DockerAttributes.cs +++ b/test/Elastic.Apm.Tests.Utilities/XUnit/DockerAttributes.cs @@ -67,7 +67,7 @@ static DockerUtils() { try { - var result = Proc.Start(new StartArguments("docker", "--version") { Timeout = TimeSpan.FromSeconds(30)}); + var result = Proc.Start(new StartArguments("docker", "--version") { Timeout = TimeSpan.FromSeconds(30) }); HasDockerInstalled = result.ExitCode == 0; } catch (Exception) diff --git a/test/Elastic.Apm.Tests/HelpersTests/LazyContextualInitTestsHelpers.cs b/test/Elastic.Apm.Tests/HelpersTests/LazyContextualInitTestsHelpers.cs index 4591cda59..c587fc7d3 100644 --- a/test/Elastic.Apm.Tests/HelpersTests/LazyContextualInitTestsHelpers.cs +++ b/test/Elastic.Apm.Tests/HelpersTests/LazyContextualInitTestsHelpers.cs @@ -1,4 +1,4 @@ -using System; +using System; using Elastic.Apm.Helpers; using Xunit; // Licensed to Elasticsearch B.V under one or more agreements. @@ -12,4 +12,4 @@ internal static class LazyContextualInitTestsHelpers { "IfNotInited?.Init ?? false", (lazyCtxInit, initAction) => lazyCtxInit.IfNotInited?.Init(initAction) ?? false }, { "Init", (lazyCtxInit, initAction) => lazyCtxInit.Init(initAction) } }; -} \ No newline at end of file +} diff --git a/test/profiler/Elastic.Apm.Profiler.Managed.Tests/AspNetCore/AspNetCoreTests.cs b/test/profiler/Elastic.Apm.Profiler.Managed.Tests/AspNetCore/AspNetCoreTests.cs index eb744f155..38e1889c2 100644 --- a/test/profiler/Elastic.Apm.Profiler.Managed.Tests/AspNetCore/AspNetCoreTests.cs +++ b/test/profiler/Elastic.Apm.Profiler.Managed.Tests/AspNetCore/AspNetCoreTests.cs @@ -26,7 +26,7 @@ public class AspNetCoreTests /// [Theory] [InlineData("net8.0")] - public async void AspNetCoreTest(string framework) + public async System.Threading.Tasks.Task AspNetCoreTest(string framework) { var apmLogger = new InMemoryBlockingLogger(Logging.LogLevel.Error); var apmServer = new MockApmServer(apmLogger, nameof(AspNetCoreTests)); diff --git a/test/startuphook/Elastic.Apm.StartupHook.Tests/DotnetProject.cs b/test/startuphook/Elastic.Apm.StartupHook.Tests/DotnetProject.cs index fb9140f73..0f6758bd8 100644 --- a/test/startuphook/Elastic.Apm.StartupHook.Tests/DotnetProject.cs +++ b/test/startuphook/Elastic.Apm.StartupHook.Tests/DotnetProject.cs @@ -74,7 +74,7 @@ private bool TryPublish() var startArgs = new StartArguments("dotnet", args) { WorkingDirectory = workingDirectory, - Timeout= TimeSpan.FromSeconds(30) + Timeout = TimeSpan.FromSeconds(30) }; var publishResult = Proc.Start(startArgs);