File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ -z "$PLATFORM_NAME" ]; then
77fi
88
99if [ -z " $APPIUM_HOST " ]; then
10- APPIUM_HOST=" 127.0.0.1 "
10+ APPIUM_HOST=$( hostname -i )
1111fi
1212
1313if [ -z " $APPIUM_PORT " ]; then
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ adb_devices_output='73QDU16916010699 device 4b13354b80b36200 device'
4646 " -s 4b13354b80b36200 shell getprop ro.build.version.release : echo 5.1.1" \
4747 " -s 4b13354b80b36200 shell getprop ro.serialno : echo 4b13354b80b36200"
4848
49- run /root/generate_config.sh $node_config_json
49+ APPIUM_HOST=127.0.0.1 run /root/generate_config.sh $node_config_json
5050 [ " $( cat $node_config_json ) " == " $default_node_config " ]
5151
5252 unstub adb
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ services:
1515 image : appium/appium
1616 depends_on :
1717 - selenium_hub
18- network_mode : " service:selenium_hub"
1918 privileged : true
2019 volumes :
2120 - /dev/bus/usb:/dev/bus/usb
You can’t perform that action at this time.
0 commit comments