Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(681)

Issue 8641045: call webdriver.quit() to clean up (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by felix8a
Modified:
12 years, 11 months ago
Reviewers:
kpreid2
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

If we don't call webdriver.quit(), the 'chromedriver' process never exits, and each chrome browser test run (successful or not) will leave four new chromedriver processes hanging around indefinitely.

Patch Set 1 #

Total comments: 2

Patch Set 2 : call webdriver.quit() to clean up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M tests/com/google/caja/plugin/BrowserTestCase.java View 1 chunk +3 lines, -1 line 0 comments Download
M tests/com/google/caja/plugin/WebDriverHandle.java View 1 3 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 5
felix8a
12 years, 11 months ago (2013-04-15 16:39:05 UTC) #1
kpreid2
https://codereview.appspot.com/8641045/diff/1/tests/com/google/caja/plugin/WebDriverHandle.java File tests/com/google/caja/plugin/WebDriverHandle.java (right): https://codereview.appspot.com/8641045/diff/1/tests/com/google/caja/plugin/WebDriverHandle.java#newcode117 tests/com/google/caja/plugin/WebDriverHandle.java:117: driver.quit(); Why call driver.quit() twice?
12 years, 11 months ago (2013-04-15 16:44:32 UTC) #2
felix8a
If we don't call webdriver.quit(), the 'chromedriver' process never exits, and each chrome browser test ...
12 years, 11 months ago (2013-04-15 16:49:58 UTC) #3
felix8a
https://codereview.appspot.com/8641045/diff/1/tests/com/google/caja/plugin/WebDriverHandle.java File tests/com/google/caja/plugin/WebDriverHandle.java (right): https://codereview.appspot.com/8641045/diff/1/tests/com/google/caja/plugin/WebDriverHandle.java#newcode117 tests/com/google/caja/plugin/WebDriverHandle.java:117: driver.quit(); On 2013/04/15 16:44:32, kpreid2 wrote: > Why call ...
12 years, 11 months ago (2013-04-15 16:50:10 UTC) #4
kpreid2
12 years, 11 months ago (2013-04-15 16:54:57 UTC) #5
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b