6 writes to DependencyCheckTimeout
Aspire.Hosting (2)
Dcp\DcpOptions.cs (2)
376
options.
DependencyCheckTimeout
= timeout;
385
options.
DependencyCheckTimeout
= configuration.GetValue(KnownConfigNames.DependencyCheckTimeout, KnownConfigNames.Legacy.DependencyCheckTimeout, options.DependencyCheckTimeout);
Aspire.Hosting.Tests (4)
Dcp\DcpHostNotificationTests.cs (4)
774
var dcpOptions = Options.Create(new DcpOptions { CliPath = CreateFakeDcpWithHangingInfo(dcpDir.FullName),
DependencyCheckTimeout
= 2 });
798
var dcpOptions = Options.Create(new DcpOptions { CliPath = CreateFakeDcpWithHangingInfo(dcpDir.FullName),
DependencyCheckTimeout
= 2 });
819
var dependencyCheck = new DcpDependencyCheck(Options.Create(new DcpOptions { CliPath = cliPath,
DependencyCheckTimeout
= 10 }));
846
var dcpOptions = Options.Create(new DcpOptions { CliPath = CreateFakeDcpWithOutput(dcpDir.FullName, output),
DependencyCheckTimeout
= 10 });
7 references to DependencyCheckTimeout
Aspire.Hosting (6)
Dcp\DcpDependencyCheck.cs (2)
110
if (_dcpOptions.
DependencyCheckTimeout
> 0)
112
processResult = await task.WaitAsync(TimeSpan.FromSeconds(_dcpOptions.
DependencyCheckTimeout
), cancellationToken).ConfigureAwait(false);
Dcp\DcpOptions.cs (4)
372
if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)]))
374
if (int.TryParse(dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)], out var timeout))
380
throw new InvalidOperationException($"Invalid value \"{dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)]}\" for \"--dcp-dependency-check-timeout\". Expected an integer value.");
385
options.DependencyCheckTimeout = configuration.GetValue(KnownConfigNames.DependencyCheckTimeout, KnownConfigNames.Legacy.DependencyCheckTimeout, options.
DependencyCheckTimeout
);
Aspire.Hosting.Tests (1)
Dcp\DcpCliArgsTests.cs (1)
72
Assert.Equal(42, dcpOptions.
DependencyCheckTimeout
);