Revision: 644735fbf9ed
Branch:   default
Author:   Pekka Klärck
Date:     Tue Dec  3 06:23:13 2013 UTC
Log: avoid test flickering: process could finish before we sent a signal to it
http://code.google.com/p/robotframework/source/detail?r=644735fbf9ed

Modified:
 /atest/testdata/standard_libraries/process/sending_signal.txt

=======================================
--- /atest/testdata/standard_libraries/process/sending_signal.txt Thu Oct 31 14:17:07 2013 UTC +++ /atest/testdata/standard_libraries/process/sending_signal.txt Tue Dec 3 06:23:13 2013 UTC
@@ -18,7 +18,7 @@

 Send other well-known signals
:FOR ${signal} IN TERM SIGTERM 15 KILL SIGKILL 9
-    \    Start Python Process    pass
+    \    Start Sleeping Process
     \    Send Signal To Process    ${signal}
     \    ${result} =    Wait For Process
     \    Should Not Be Equal    ${result.rc}    ${0}
@@ -55,7 +55,7 @@
     ...    for i in range(25): time.sleep(0.1)
     ...    print 'end'
     ${index} =    Start Python Process    ${command}    alias=${alias}
-    Sleep    0.1s
+    Sleep    0.1s    Give process time to start
     [Return]    ${index}

 Sleeping Process Should Have Been Stopped

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to