File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
src/SayMoreTests/MediaUtils/MPlayer Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -252,8 +252,7 @@ public void LoadAndPlayFile_FileNameHasAsciiCharacter_Plays()
252252 File . Delete ( pathname ) ;
253253 } ;
254254 _model . Play ( ) ;
255- while ( _model != null )
256- Thread . Sleep ( 10 ) ;
255+ Thread . Sleep ( 3 ) ;
257256 Assert . IsTrue ( logger . GetText ( ) . Contains ( "Starting playback..." ) ) ;
258257 }
259258
@@ -276,8 +275,7 @@ public void LoadAndPlayFile_FileNameHasNonAsciiCharacter_Plays()
276275 File . Delete ( pathname ) ;
277276 } ;
278277 _model . Play ( ) ;
279- while ( _model != null )
280- Thread . Sleep ( 10 ) ;
278+ Thread . Sleep ( 3 ) ;
281279 Assert . IsTrue ( logger . GetText ( ) . Contains ( "Starting playback..." ) ) ;
282280 }
283281
@@ -305,8 +303,7 @@ public void LoadAndPlayFile_FolderHasNonAsciiCharacter_Plays()
305303 File . Delete ( pathname ) ;
306304 } ;
307305 _model . Play ( ) ;
308- while ( _model != null )
309- Thread . Sleep ( 10 ) ;
306+ Thread . Sleep ( 3 ) ;
310307 Assert . IsTrue ( logger . GetText ( ) . Contains ( "Starting playback..." ) ) ;
311308 }
312309 }
You can’t perform that action at this time.
0 commit comments