spriteCloud / lapis-lazuli

Cucumber helper functions and scaffolding for easier test automation suite development.
Other
7 stars 7 forks source link

Unable to terminate batch job from console #10

Closed sjieg closed 9 years ago

sjieg commented 9 years ago

When running a scenario, it used to be possible to stop it from running by spam pressing "Ctrl+C".

Now when I do this I see the following:

[2015-02-12 13:26:57] ERROR Errno::ENOTSOCK: An operation was attempted on
something that is not a socket.
C:/Ruby200/lib/ruby/2.0.0/webrick/server.rb:170:in 'select'
[2015-02-12 13:26:57] INFO  going to shutdown ...
[2015-02-12 13:26:57] INFO  WEBrick::HTTPServer#start done.

Then the cucumber job completely finishes and in the end I get the message Terminate batch job (Y/N)? twice.

To run the job I used bundle exec cucumber -t @sometag

jfinkhaeuser commented 9 years ago

Is that for the LL test suite or any other test suite?

WEBrick::HTTPServer sounds very much like it's the server running the website that is being tested in the LL test suite.

osteenbergen commented 9 years ago

Both the test suite and the demo project Gijs has run the webrick server. Will test without it.

osteenbergen commented 9 years ago

Terminate batch job (Y/N)? message is Windows CMD when you press Ctrl+C, which is delayed until the process terminates for some strange reason