Case will run in first node when there are many different nodes for android and ios

Hi All,

Now I register an ios device first and an android device into a grid hub. When I want to run android case on android device, but this case start ios emulator and failed. I don’t know why. If i stop ios device node, only have android node., this case will pass. If i register android device node into hub first, then I trigger ios cases, it will run on android emulator and failed.

Does anyone meet same situation with me?

IOS:
{
“capabilities”:
[
{
“maxInstances”: 1,
“browserName”: “iPhone”,
“browser”: “iPhone”,
“platform”: “MAC”,
“platformName”: “iOS”,
“platformVersion”: “9.2”,
“deviceName”: “iPhone 6 plus”
}
],
“configuration”:
{
“cleanUpCycle”:2000,
“timeout”:300000,
“proxy”: “org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“maxSession”: 1,
“url”: “http://10.249.136.216:4723/wd/hub”,
“port”: 4723,
“register”: true,
“registerCycle”: 5000,
“host”: “10.249.136.216”,
“hubPort”: 4444,
“hubHost”: “10.249.136.208”
}
}

Android:
{
“capabilities”:
[
{
“browserName”: “Android”,
“browser”: “Android”,
“version”:“4.2”,
“maxInstances”: 1,
“platform”:“ANDROID”
}

],
“configuration”:
{
“cleanUpCycle”:2000,
“timeout”:30000,
“proxy”: “org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“url”:“http://10.249.136.216:4731/wd/hub”,
“maxSession”: 1,
“port”: 4731,
“host”: “10.249.136.216”,
“maxSession”: 1,
“register”: true,
“registerCycle”: 5000,
“hubPort”: 4444,
“hubHost”: “10.249.136.208”
}
}