Skip to content

Commit

Permalink
Merge pull request #331 from JimmyYang20/fix-e2e
Browse files Browse the repository at this point in the history
Update e2e test script
  • Loading branch information
kubeedge-bot authored Jul 20, 2022
2 parents 778a2ca + 1ba45c4 commit f6909d3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions hack/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ SEDNA_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"

cd "$SEDNA_ROOT"

# source local-up script
# Prepare all-in-one env
{
__WITH_SOURCE__=true
# this will export KUBECONFIG
source hack/local-up.sh
trap cleanup EXIT
echo "Prepare all-in-one env"
cat scripts/installation/all-in-one.sh | KUBEEDGE_VERSION=v1.8.0 NUM_EDGE_NODES=0 bash -
}

# Running e2e
echo "Running e2e..."
go test ./test/e2e -v


# Clean all-in-one env
echo "Chean all-in-one env"
cat scripts/installation/all-in-one.sh | bash /dev/stdin clean

0 comments on commit f6909d3

Please sign in to comment.