Skip to content

Commit

Permalink
minor changes to test script
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmeenkaur committed Jul 21, 2023
1 parent 6099d76 commit a231f39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/cd_scripts/e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ then
else
# For rhel and centos
sudo yum makecache
sudo yum check-update
sudo yum -y update
#Install fuse
sudo yum -y install fuse
Expand Down Expand Up @@ -107,9 +107,10 @@ cd gcsfuse
git checkout $(sed -n 2p ~/details.txt) |& tee -a ~/logs.txt
#run tests with testbucket flag
set +e
GODEBUG=asyncpreemptoff=1 go test ./tools/integration_tests/... -p 1 --integrationTest -v --testbucket=$(sed -n 3p ~/details.txt) --testInstalledPackage --timeout=60m &>> ~/logs.txt
if grep -q FAIL ~/logs.txt;
if [ $? -ne 0 ];
then
echo "Test failures detected" &>> ~/logs.txt
else
Expand Down

0 comments on commit a231f39

Please sign in to comment.