File tree 1 file changed +4
-1
lines changed
src/libraries/System.Diagnostics.Process/tests
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2264,7 +2264,6 @@ public void TestLongProcessIsWorking()
2264
2264
}
2265
2265
2266
2266
[ PlatformSpecific ( TestPlatforms . AnyUnix ) ]
2267
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/29330" , TestPlatforms . OSX ) ]
2268
2267
[ Fact ]
2269
2268
[ ActiveIssue ( "https://github.com/dotnet/runtime/issues/52852" , TestPlatforms . MacCatalyst ) ]
2270
2269
[ ActiveIssue ( "https://github.com/dotnet/runtime/issues/53095" , TestPlatforms . Android ) ]
@@ -2294,6 +2293,10 @@ public void LongProcessNamesAreSupported()
2294
2293
2295
2294
using ( Process px = Process . Start ( sleepCommandPathFileName , "600" ) )
2296
2295
{
2296
+ // Reading of long process names is flaky during process startup and shutdown.
2297
+ // Wait a bit to skip over the period where the ProcessName is not reliable.
2298
+ Thread . Sleep ( 100 ) ;
2299
+
2297
2300
Process [ ] runningProcesses = Process . GetProcesses ( ) ;
2298
2301
try
2299
2302
{
You can’t perform that action at this time.
0 commit comments