Skip to content

Infinit loop when waiting for application to be ready #11

@mkermarrec-zz

Description

@mkermarrec-zz

Hi,

I add a problem launching webdrive:test command.
I was looping infinitly and wasn't displaying anything else but this:

~ play! 1.2.5, http://www.playframework.org
~
~ Running tests with webdriver
~ Ctrl+C to stop
~
~ Deleting C:\Users\XCKS8484\dev\Workspace\ACE\tmp
~
CompilerOracle: exclude
jregex/Pretokeni
zer.next
Listening for transport dt_socket at address: 8000
~
~ Go to http://localhost:9300/@tests to run the tests
~

I realized, in command.py, that script was waiting for "Linstening for port" array to be displayed.

A solution would be to replace

if line.find('Linstening for port') > -1:

by

if line.find('@tests to run the tests') > -1:

in command.py at line 89. So that, WebDriverRunner would be started only when application would be ready.

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions