Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #6624 (closed)

Opened 13 years ago

Closed 13 years ago

Disable selenium tests

Reported by: jamoore Owned by:
Priority: major Milestone: OMERO-Beta4.3.2
Component: Deployment Version: n.a.
Keywords: n.a. Cc: python-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-09-15 (5)

Description

While waiting on #4452, we should disable selenium tests from running by default to prevent failures of the form:

======================================================================
ERROR: testRemoveExpFromGroup (__main__.AdminTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/omeroweb/webadmin/tests/seleniumtests.py",> line 111, in setUp
   super(AdminTests, self).setUp()
 File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/omeroweb/webgateway/tests/seleniumbase.py",> line 139, in setUp
   self.selenium = self.SERVER.getSelenium()
 File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/omeroweb/webgateway/tests/seleniumbase.py",> line 70, in getSelenium
   self.selenium.start()
 File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/selenium.py",> line 189, in start
   result = self.get_string("getNewBrowserSession", [self.browserStartCommand, self.browserURL, self.extensionJs])
 File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/selenium.py",> line 219, in get_string
   result = self.do_command(verb, args)
 File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/selenium.py",> line 207, in do_command
   conn.request("POST", "/selenium-server/driver/", body, headers)
 File "/usr/lib/python2.6/httplib.py", line 910, in request
   self._send_request(method, url, body, headers)
 File "/usr/lib/python2.6/httplib.py", line 947, in _send_request
   self.endheaders()
 File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
   self._send_output()
 File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
   self.send(msg)
 File "/usr/lib/python2.6/httplib.py", line 735, in send
   self.connect()
 File "/usr/lib/python2.6/httplib.py", line 716, in connect
   self.timeout)
 File "/usr/lib/python2.6/socket.py", line 514, in create_connection
   raise error, msg
error: [Errno 111] Connection refused

Sorry, I wasn't sure of the best way to do this to not conflict with the team's regular development so I didn't make any changes.

Change History (2)

comment:1 Changed 13 years ago by jburel

  • Sprint changed from 2011-09-01 (4) to 2011-09-15 (5)

Moved from sprint 2011-09-01 (4)

comment:2 Changed 13 years ago by Chris Allan <callan@…>

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [374143e76848fe4a3a638bb7879b8d4570e9b5e9/ome.git] on branch develop) Disabling Selenium tests. (Close #6624)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66117 sec.)

We're Hiring!