Selenium Hub doesn't stop sending tests

18 views
Skip to first unread message

Ambar Choudhury

unread,
Jan 10, 2014, 8:06:54 PM1/10/14
to seleniu...@googlegroups.com
Hello,

I'm using gradle to drive a Selenium grid (1 hub, 1 node currently). The registration process works fine and the first time I fire up my tests the setup behaves as expected. However, the hub does a few weird things after this.

1. Even though the gradle test run is finished the hub keeps sending the test instructions. So if I restart the node all the tests run again.
2. If I kill the hub the node reregisters itself and rerunning the tests works as expected for the first time, followed by the problems mentioned in point 1.

I'd like the control on the tests to be with Gradle or whatever other build system I'm using. Is there a command I might be missing to tell the hub to stop after a certain number of cycles?

Cheers.

Krishnan Mahadevan

unread,
Jan 11, 2014, 9:16:26 PM1/11/14
to seleniu...@googlegroups.com
Ambar
This is definitely not a problem with the grid but with your build tool. I don't know gradle. So I can't pin point the exact place. But I have seen such issues with people using maven wherein the end up invoking the same goals twice in different places while doing a CI. 
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/fb33ee2c-ba51-4833-bdb3-6dcc7cbaec97%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
Reply all
Reply to author
Forward
0 new messages