This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,13 @@ 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
+
23
+ # Even though the stdout of sauceconnect is not very verbose, we don't want to log this to
24
+ # Travis because it will show up in between different travis log-output groups
25
+ CONNECT_STDOUT=" /dev/null"
22
26
23
27
# Get Connect and start it
24
28
mkdir -p $CONNECT_DIR
@@ -42,9 +46,6 @@ if [ ! -z "$BROWSER_PROVIDER_READY_FILE" ]; then
42
46
fi
43
47
44
48
45
- echo " Starting Sauce Connect in the background, logging into:"
46
- echo " $CONNECT_LOG "
47
- echo " $CONNECT_STDOUT "
48
- echo " $CONNECT_STDERR "
49
+ echo " Starting Sauce Connect in the background"
49
50
sauce-connect/bin/sc -u $SAUCE_USERNAME -k $SAUCE_ACCESS_KEY $ARGS \
50
- --logfile $CONNECT_LOG 2> $CONNECT_STDERR 1 > $CONNECT_STDOUT &
51
+ --logfile $CONNECT_LOG > $CONNECT_STDOUT &
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