Skip to content

Commit

Permalink
do not remove binary
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmeenkaur committed Apr 30, 2024
1 parent b17dd4e commit ea5a353
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
6 changes: 0 additions & 6 deletions tools/integration_tests/run_e2e_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,6 @@ function main(){
echo "The e2e tests for hns bucket failed.."
exit 1
fi

# Removing bin file after testing.
if [ $RUN_E2E_TESTS_ON_PACKAGE != true ];
then
sudo rm /usr/local/bin/gcsfuse
fi
}

#Main method to run script
Expand Down
11 changes: 0 additions & 11 deletions tools/integration_tests/util/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,6 @@ func SetUpTestDir() error {
return nil
}

// Removing bin file after testing.
func RemoveBinFileCopiedForTesting() {
if !TestInstalledPackage() {
cmd := exec.Command("sudo", "rm", "/usr/local/bin/gcsfuse")
err := cmd.Run()
if err != nil {
log.Printf("Error in removing file:%v", err)
}
}
}

func UnMount() error {
fusermount, err := exec.LookPath("fusermount")
if err != nil {
Expand Down

0 comments on commit ea5a353

Please sign in to comment.