diff --git a/Changes.md b/Changes.md index df8ced87413..0c79d9f88b5 100644 --- a/Changes.md +++ b/Changes.md @@ -1,7 +1,10 @@ 1.5.x.x (relative to 1.5.1.0) ======= +Fixes +----- +- ApplicationTest : Slightly increased pause before checking process name to ensure it has had time to change it. 1.5.1.0 (relative to 1.5.0.1) ======= diff --git a/python/GafferTest/ApplicationTest.py b/python/GafferTest/ApplicationTest.py index 65c19748329..55461b55723 100644 --- a/python/GafferTest/ApplicationTest.py +++ b/python/GafferTest/ApplicationTest.py @@ -64,7 +64,7 @@ def testWrapperDoesntDuplicatePaths( self ) : def testProcessName( self ) : process = subprocess.Popen( [ str( Gaffer.executablePath() ), "env", "sleep", "100" ] ) - time.sleep( 1 ) + time.sleep( 3 ) command = subprocess.check_output( [ "ps", "-p", str( process.pid ), "-o", "command=" ], universal_newlines = True ).strip() name = subprocess.check_output( [ "ps", "-p", str( process.pid ), "-o", "comm=" ], universal_newlines = True ).strip() process.kill()