File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Start And Import Remote Library
1212 Set Pythonpath
1313 ${port } = Start Remote Library ${library }
1414 Import Library Remote http://127.0.0.1:${port }
15+ Set Suite Variable ${ACTIVE PORT } ${port }
1516 Set Log Level DEBUG
1617
1718Start Remote Library
@@ -36,7 +37,10 @@ Set Pythonpath
3637 Set Environment Variable IRONPYTHONPATH ${src }
3738
3839Stop Remote Library
39- [Arguments] ${library } =${NONE }
4040 Stop Remote Server
41- ${result } = Wait For Process ${library } 10s terminate
42- Log ${result.stdout }
41+ Server Should Be Stopped And Correct Messages Logged
42+
43+ Server Should Be Stopped And Correct Messages Logged
44+ ${result } = Wait For Process timeout=10s on_timeout=terminate
45+ Should Be Equal ${result.stdout }
46+ ... Robot Framework remote server starting at 127.0.0.1:${ACTIVE PORT } .
Original file line number Diff line number Diff line change @@ -85,10 +85,10 @@ def serve_forever(self):
8585 def stop_remote_server (self ):
8686 prefix = 'Robot Framework remote server at %s:%s ' % self .server_address
8787 if self ._allow_stop :
88- self ._log (prefix + 'stopping' )
88+ self ._log (prefix + 'stopping. ' )
8989 self ._shutdown = True
9090 else :
91- self ._log (prefix + 'does not allow stopping' , 'WARN' )
91+ self ._log (prefix + 'does not allow stopping. ' , 'WARN' )
9292 return True
9393
9494 def get_keyword_names (self ):
You can’t perform that action at this time.
0 commit comments