Skip to content

Commit

Permalink
Use dotnet test for test discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
captainsafia authored Jul 11, 2021
1 parent d7fe599 commit f5cecb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/helix/content/RunTests/TestRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public async Task<bool> CheckTestDiscoveryAsync()
{
// Run test discovery so we know if there are tests to run
var discoveryResult = await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet",
$"vstest {Options.Target} -lt",
$"test {Options.Target} --list-tests",
environmentVariables: EnvironmentVariables,
cancellationToken: new CancellationTokenSource(TimeSpan.FromMinutes(2)).Token);

Expand Down

0 comments on commit f5cecb2

Please sign in to comment.