sebastianbergmann/phpunit-selenium — Issue #74: Seeing an intermittent but persistent "PHPUnit_Framework_Exception: Could not connect to the Selenium RC server" error
Author: theschles
Created: 2011-11-15 19:35:22+00:00
State: open

Selenium RC 2.12.0 on Windows Vista
PHPUnit 3.15.5
Firefox 7.0.1

Intermittently, but persistently and not consistently, we see a "PHPUnit_Framework_Exception: Could not connect to the Selenium RC server". Often this happens where we have a single test but multiple data sets.

You'll see below builds 314, 315, and 316 failed. Build 313 passed ok.

You'll also see below that the period status seems to sometimes pass for the VERY SAME TESTS.

What's even more frustrating is that I don't get a screenshot when this happens (See https://github.com/sebastianbergmann/phpunit-selenium/issues/65 )

Help?!

Build 316:
[exec] PHPUnit 3.5.15 by Sebastian Bergmann.
[exec]
[exec] I.................I.............E
[exec]
[exec] Time: 30:57, Memory: 35.25Mb
[exec]
[exec] There was 1 error:
[exec]
[exec] 1) AG_Test_Integration_User_UserPageTest::testCategoryPages with data set #13 (array('/category/arcade', 6, 'css=#feature-content .picks a.game'))
[exec] PHPUnit_Framework_Exception: Could not connect to the Selenium RC server

Build 315:
[exec]
[exec] I………….E
[exec]
[exec] Time: 23:04, Memory: 29.00Mb
[exec]
[exec] There was 1 error:
[exec]
[exec] 1) AG_Test_Integration_Admin_Game_EditTest::testPreviewURLs with data set #0 (5358)
[exec] PHPUnit_Framework_Exception: Could not connect to the Selenium RC server.
[exec]

Build 314:
[exec] PHPUnit 3.5.15 by Sebastian Bergmann.
[exec]
[exec] I……………..I…E
[exec]
[exec] Time: 26:42, Memory: 35.25Mb
[exec]
[exec] There was 1 error:
[exec]
[exec] 1) AG_Test_Integration_User_UserPageTest::testCategoryPages with data set #3 (array(’/category/action’, 5, ’css=#main-content .related-games a.game’))
[exec] PHPUnit_Framework_Exception: Could not connect to the Selenium RC server.