diff --git a/eng/helix/content/RunTests/TestRunner.cs b/eng/helix/content/RunTests/TestRunner.cs index 1b8ff472932c..083fc46d8dca 100644 --- a/eng/helix/content/RunTests/TestRunner.cs +++ b/eng/helix/content/RunTests/TestRunner.cs @@ -188,7 +188,7 @@ public async Task 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);