[arquillian-issues] [JBoss JIRA] (ARQ-1031) Drone doesn't remove non-reusable sessions from the queue

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Jul 16 05:00:07 EDT 2012


     [ https://issues.jboss.org/browse/ARQ-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated ARQ-1031:
----------------------------

    Description: 
When running [simplified test case|https://gist.github.com/3121648], and stopping selenium server in mean time, session isn't reusable anymore.

Such session should be removed from the queue, but instead, non-reusable sessions are stacked, which clutters console output.

----

Steps to reproduce:

1. {{$ rm ~/.drone-driver-session-store}}
2. start selenium server
2. run [{{SimplerReusableRemoteWebDriverTestCase}}|https://gist.github.com/3121648]
3. stop & start selenium server
4. run test case again
5. new session is created, and warning appears: {{WARNING: Unable to reuse session: 1342428569722}}
6. stop & start selenium server
7. run test case again
8. new session is created, but two warnings appears: {{WARNING: Unable to reuse session: 1342429013548}} and {{WARNING: Unable to reuse session: 1342428569722
}}

Which means session {{1342428569722}} is still not removed from queue.


    
> Drone doesn't remove non-reusable sessions from the queue
> ---------------------------------------------------------
>
>                 Key: ARQ-1031
>                 URL: https://issues.jboss.org/browse/ARQ-1031
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Drone
>    Affects Versions: drone_1.1.0.CR1
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>            Priority: Minor
>
> When running [simplified test case|https://gist.github.com/3121648], and stopping selenium server in mean time, session isn't reusable anymore.
> Such session should be removed from the queue, but instead, non-reusable sessions are stacked, which clutters console output.
> ----
> Steps to reproduce:
> 1. {{$ rm ~/.drone-driver-session-store}}
> 2. start selenium server
> 2. run [{{SimplerReusableRemoteWebDriverTestCase}}|https://gist.github.com/3121648]
> 3. stop & start selenium server
> 4. run test case again
> 5. new session is created, and warning appears: {{WARNING: Unable to reuse session: 1342428569722}}
> 6. stop & start selenium server
> 7. run test case again
> 8. new session is created, but two warnings appears: {{WARNING: Unable to reuse session: 1342429013548}} and {{WARNING: Unable to reuse session: 1342428569722
> }}
> Which means session {{1342428569722}} is still not removed from queue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the arquillian-issues mailing list