[arquillian-issues] [JBoss JIRA] (ARQ-1350) Drone: allow reuse of session even though all capabilities are not serializable

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Mar 11 02:30:42 EDT 2013


Lukáš Fryč created ARQ-1350:
-------------------------------

             Summary: Drone: allow reuse of session even though all capabilities are not serializable
                 Key: ARQ-1350
                 URL: https://issues.jboss.org/browse/ARQ-1350
             Project: Arquillian
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: Extension - Drone
            Reporter: Lukáš Fryč
            Assignee: Karel Piwko


Remote drivers might store non-serializable instances in Capabilities map.

Drone fails to reuse such browsers since it is not able to store and serialize their capabilities in ReusedSession object.

One example of such a driver is PhantomJSDriver which stores object under key 'proxy': com.google.common.collect.Maps$TransformedEntriesMap.

---

In order to maximize ability of session reusal, Drone may avoid reusing driver's capabilities at own, but try serialization of each capabilities entry separately and store them in new instance of DesiredCapabilities.

This allows to reuse PhantomJS sessions.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list