Skip to content

Commit

Permalink
Add timeout to Docker check
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejgordon committed Nov 29, 2024
1 parent 53f2ff6 commit 1b83a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Elastic.Apm.Tests.Utilities/XUnit/DockerAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static DockerUtils()
{
try
{
var result = Proc.Start(new StartArguments("docker", "--version"));
var result = Proc.Start(new StartArguments("docker", "--version"), TimeSpan.FromSeconds(30));
HasDockerInstalled = result.ExitCode == 0;
}
catch (Exception)
Expand Down

0 comments on commit 1b83a20

Please sign in to comment.