Skip to content

Commit

Permalink
Update e2e test script
Browse files Browse the repository at this point in the history
all-in-one for test env

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
  • Loading branch information
JimmyYang20 committed Jul 19, 2022
1 parent 778a2ca commit 8599f60
Show file tree
Hide file tree
Showing 2 changed files with 447 additions and 441 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 bash -
}

# Running e23
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
Loading

0 comments on commit 8599f60

Please sign in to comment.