Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
Some test machines do not have the `cni_plugin_helper.bash` installed
when running the integration tests. This commit fixes it with a manual
installation before running the actual suite.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
  • Loading branch information
saschagrunert committed Apr 25, 2019
1 parent e80499d commit 67e7515
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_runner.sh
Expand Up @@ -30,5 +30,8 @@ function execute() {
# Tests to run. Defaults to all.
TESTS=${@:-.}

# Copy the cni helper
cp cni_plugin_helper.bash /opt/cni/bin

# Run the tests.
execute time bats --tap $TESTS

0 comments on commit 67e7515

Please sign in to comment.