Skip to content

Commit 3231d0d

Browse files
committed
sip, incremented the timeout and show iOS driver logs
1 parent 36860f9 commit 3231d0d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

scripts/ci/test_perf.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ SCRIPT_DIR=$(dirname $0)
77
cd $SCRIPT_DIR/../..
88

99
IOS_SERVER_BINARY="ios-server-standalone-0.6.6-SNAPSHOT.jar"
10-
# This is fixed as Jenkins is running on the host
11-
# that also hosts the wifi
12-
HOSTNAME="192.168.2.1"
1310
PROTRACTOR="./node_modules/.bin/protractor"
1411
# TODO(tbosch): only running a smoke test on iOS as our transpiled sources don't run in Safari yet.
15-
IOS_ARGS="--seleniumAddress=http://localhost:5555/wd/hub --hostname=$HOSTNAME \
12+
IOS_ARGS="--seleniumAddress=http://localhost:5555/wd/hub --hostname=$CIHOSTADDRESS \
1613
--specs=dist/js/cjs/examples/e2e_test/benchpress/smoke_test_perf.js"
1714
IOS_BROWSER_NAME="SafariIos"
1815

@@ -48,12 +45,12 @@ serverPid=$!
4845

4946
if [[ $IOS_BROWSER ]]; then
5047
echo Starting ios selenium server
51-
java -jar $IOS_SERVER_BINARY -real &>/dev/null&
48+
java -jar $IOS_SERVER_BINARY -real&
5249
iosServerPid=$!
5350
fi
5451

5552
# wait for server to come up!
56-
sleep 20
53+
sleep 40
5754

5855
if [[ $IOS_BROWSER ]]; then
5956
echo Running ios tests

scripts/jenkins/jenkins_perf.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ export PERF_BROWSERS=SafariIos
1313
export CLOUD_SECRET_PATH="/Users/Shared/jenkins/keys/perf-cloud-secret"
1414
export GIT_SHA=$(git rev-parse HEAD)
1515

16+
# This is fixed as Jenkins is running on the host
17+
# that also hosts the wifi
18+
export CIHOSTADDRESS=192.168.2.1
19+
1620
nvm use 0.10
1721

1822
# TODO ./scripts/ci/init_android.sh

0 commit comments

Comments
 (0)