Skip to content

Commit

Permalink
fix 1
Browse files Browse the repository at this point in the history
Signed-off-by: Pritesh Bandi <[email protected]>
  • Loading branch information
priteshbandi committed Jan 23, 2024
1 parent 377e851 commit 32bed49
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# limitations under the License.

# build example plugins for e2e tests
echo "building example plugins..."
echo "=============================="
CWD=$(pwd)
PLUGIN_NAME=com.example.plugin
plugin_directories=( envelopegenerator signaturegenerator )
Expand All @@ -22,11 +24,7 @@ do
(cd "../../example/${plugin_directory}" && go build -o "$CWD/bin/${plugin_directory}/$PLUGIN_NAME" . && echo "e2e ${plugin_directory} plugin built")
done

echo "${plugin_paths[0]}"


# run tests
# run e2e tests
echo "running e2e tests..."
echo "=============================="

go test -race -v ./... -args -env_gen_plugin="./bin/${plugin_directories[0]}/$PLUGIN_NAME" - sig_gen_plugin="./bin/${plugin_directories[1]}/$PLUGIN_NAME"

0 comments on commit 32bed49

Please sign in to comment.