[arquillian-issues] [JBoss JIRA] (ARQ-1505) Wrong handling of Android Debug Bridge initialization

Karel Piwko (JIRA) jira-events at lists.jboss.org
Sat Sep 28 05:30:02 EDT 2013


Karel Piwko created ARQ-1505:
--------------------------------

             Summary: Wrong handling of Android Debug Bridge initialization
                 Key: ARQ-1505
                 URL: https://issues.jboss.org/browse/ARQ-1505
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Extension - Droidium
    Affects Versions: droidium_1.0.0.Alpha1
            Reporter: Karel Piwko


When ADB is started, but the port is already occupied by a different tooling, it logs an E/ddms message, however it continues with the execution. 

This is indeed faulty behaviour. The port should be configurable, if the port is occupied - it should fail with Unable to start container or unable to connect to the running container exception - similar to behavior you experience with other remote / managed containers. 

{code}
 org.arquillian.droidium.container.impl.AndroidBridgeImpl connect
INFO: Connecting to the Android Debug Bridge at /home/kpiwko/apps/android-sdk-linux_x86/platform-tools/adb forceNewBridge = true
10:01:23 E/ddms: Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by 
something else, choose a new port number in the preferences.
Sep 27, 2013 10:01:23 PM org.arquillian.droidium.container.impl.AndroidBridgeConnector initAndroidDebugBridge
INFO: Android Debug Bridge was initialized in 350ms.
{code}

--
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