[ 
https://issues.apache.org/jira/browse/CB-10390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107831#comment-15107831
 ] 

ASF GitHub Bot commented on CB-10390:
-------------------------------------

GitHub user sarangan12 opened a pull request:

    https://github.com/apache/cordova-medic/pull/69

    CB-10390: ADB doesn't recognize existing devices in Medic

    In Apache CI, we get the error: ADB doesn't recognize existing devices
    in Medic. The root cause for this error is that there is an additional
    space in the pattern. As a result ‘emulator-5554’ will not be matched
    with ‘emulator ‘ pattern (due to additional space). On removing the
    additional space, the pattern matching working fine.
    
    Also, when you run adb devices command, there will be a header line
    “List of devices” will be displayed which must be ignored. Added the
    code to ignore that also.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sarangan12/cordova-medic master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-medic/pull/69.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #69
    
----
commit 2c9e1d33cace0f046ba0989b56fc5ebe845c42c0
Author: Sarangan Rajamanickam <saranga...@yahoo.com>
Date:   2016-01-20T02:12:42Z

    CB-10390: ADB doesn't recognize existing devices in Medic
    
    In Apache CI, we get the error: ADB doesn't recognize existing devices
    in Medic. The root cause for this error is that there is an additional
    space in the pattern. As a result ‘emulator-5554’ will not be matched
    with ‘emulator ‘ pattern (due to additional space). On removing the
    additional space, the pattern matching working fine.
    
    Also, when you run adb devices command, there will be a header line
    “List of devices” will be displayed which must be ignored. Added the
    code to ignore that also.

----


> ADB doesn't recognize existing devices in Medic
> -----------------------------------------------
>
>                 Key: CB-10390
>                 URL: https://issues.apache.org/jira/browse/CB-10390
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Medic
>            Reporter: Sarangan Rajamanickam
>            Assignee: Sarangan Rajamanickam
>
> In the Apache Cordova CI, there are tests failing with the reason:
> "[MEDIC LOG Tue, 19 Jan 2016 20:31:11 GMT] FATAL: there must be exactly one 
> emulator/device attached" 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to