This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ CONNECT_URL="https://saucelabs.com/downloads/sc-$SC_VERSION-linux.tar.gz"
16
16
CONNECT_DIR=" /tmp/sauce-connect-$RANDOM "
17
17
CONNECT_DOWNLOAD=" sc-$SC_VERSION -linux.tar.gz"
18
18
19
- CONNECT_LOG= " $LOGS_DIR /sauce-connect "
20
- CONNECT_STDOUT= " $LOGS_DIR /sauce-connect.stdout "
21
- CONNECT_STDERR= " $LOGS_DIR /sauce-connect.stderr "
19
+ # We don't want to create a log file because sauceconnect always logs in verbose mode. This seems
20
+ # to be overwhelming Travis and causing flakes when we are cat-ing the log in "print_logs.sh "
21
+ CONNECT_LOG= " /dev/null "
22
22
23
23
# Get Connect and start it
24
24
mkdir -p $CONNECT_DIR
@@ -42,9 +42,6 @@ if [ ! -z "$BROWSER_PROVIDER_READY_FILE" ]; then
42
42
fi
43
43
44
44
45
- echo " Starting Sauce Connect in the background, logging into:"
46
- echo " $CONNECT_LOG "
47
- echo " $CONNECT_STDOUT "
48
- echo " $CONNECT_STDERR "
45
+ echo " Starting Sauce Connect in the background"
49
46
sauce-connect/bin/sc -u $SAUCE_USERNAME -k $SAUCE_ACCESS_KEY $ARGS \
50
- --logfile $CONNECT_LOG 2> $CONNECT_STDERR 1> $CONNECT_STDOUT &
47
+ --logfile $CONNECT_LOG &
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ for FILE in $LOG_FILES; do
7
7
echo " ================================================================================"
8
8
echo " $FILE "
9
9
echo " ================================================================================"
10
- cat $FILE
10
+ cat $FILE || true
11
11
done
You can’t perform that action at this time.
0 commit comments