Revision: ef4ce95c66cc
Branch:   default
Author:   Pekka Klärck
Date:     Wed Dec 11 20:48:54 2013 UTC
Log: remote tests: use different ports w/ different tests. hopefully fixes failures on windows ci.
http://code.google.com/p/robotframework/source/detail?r=ef4ce95c66cc

Modified:
 /atest/robot/standard_libraries/remote/argument_counts.txt
 /atest/robot/standard_libraries/remote/remote_resource.txt
 /atest/robot/standard_libraries/remote/simple_server.txt
 /atest/testdata/standard_libraries/remote/argument_counts.txt

=======================================
--- /atest/robot/standard_libraries/remote/argument_counts.txt Wed Dec 11 18:52:29 2013 UTC +++ /atest/robot/standard_libraries/remote/argument_counts.txt Wed Dec 11 20:48:54 2013 UTC
@@ -1,5 +1,5 @@
 *** Settings ***
-Suite Setup Run Remote Tests argcounts.py ${EMPTY} argument_counts.txt +Suite Setup Run Remote Tests argcounts.py 8271 -v PORT:8271 argument_counts.txt
 Force Tags       regression    pybot    jybot
 Resource         remote_resource.txt

=======================================
--- /atest/robot/standard_libraries/remote/remote_resource.txt Wed Dec 11 18:52:29 2013 UTC +++ /atest/robot/standard_libraries/remote/remote_resource.txt Wed Dec 11 20:48:54 2013 UTC
@@ -3,15 +3,15 @@

 *** Keywords ***
 Run Remote Tests
-    [Arguments]    ${server}    ${options}    ${tests}
-    Start Remote Server    ${server}
+    [Arguments]    ${server}    ${port}    ${options}    ${tests}
+    Start Remote Server    ${server}    ${port}
     Run Tests    ${options}    standard_libraries/remote/${tests}
     Stop Remote Server    ${server}

 Start Remote Server
-    [Arguments]    ${server}
+    [Arguments]    ${server}    ${port}
${path} = Normalize Path ${DATADIR}/standard_libraries/remote/${server}
-    Start Process    python    ${path}    alias=${server}    stderr=STDOUT
+ Start Process python ${path} ${port} alias=${server} stderr=STDOUT

 Stop Remote Server
     [Arguments]    ${server}
=======================================
--- /atest/robot/standard_libraries/remote/simple_server.txt Wed Dec 11 18:52:29 2013 UTC +++ /atest/robot/standard_libraries/remote/simple_server.txt Wed Dec 11 20:48:54 2013 UTC
@@ -1,5 +1,5 @@
 *** Settings ***
-Suite Setup Run Remote Tests simpleserver.py ${EMPTY} simple_server.txt +Suite Setup Run Remote Tests simpleserver.py 8270 ${EMPTY} simple_server.txt
 Force Tags       regression    pybot    jybot
 Resource         remote_resource.txt

=======================================
--- /atest/testdata/standard_libraries/remote/argument_counts.txt Wed Dec 11 18:52:29 2013 UTC +++ /atest/testdata/standard_libraries/remote/argument_counts.txt Wed Dec 11 20:48:54 2013 UTC
@@ -1,7 +1,10 @@
 *** Settings ***
-Library           Remote    http://127.0.0.1:8270
+Library           Remote    http://127.0.0.1:${PORT}
 Suite Setup       Set Log Level    DEBUG

+*** Variables ***
+${PORT}           8270
+
 *** Test Cases ***
 No Arguments
     [Template]    Arguments Should Be Accepted

--

--- 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 robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to