Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #139 from Alrim42/develop
Browse files Browse the repository at this point in the history
Fixes #114 - solved problem with medium test
  • Loading branch information
kdembler authored Jul 19, 2017
2 parents 41af841 + 5169c5a commit fc0d138
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/medium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ __proj_name="$(basename $__proj_dir)"
export INFLUXDB_VERSION="${INFLUXDB_VERSION:-"1.0"}"
export PLUGIN_SRC="${__proj_dir}"

export GOLANGVER=${GOLANGVER:-"go1.7.4"}

TEST_TYPE="${TEST_TYPE:-"medium"}"

Expand Down
14 changes: 14 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ set -o pipefail
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
__proj_dir="$(dirname "$__dir")"

export GOLANGVER=${GOLANGVER:-"go1.7.4"}

# Remove existing containers
if [ "$(docker ps -q -f "name=/golang_${GOLANGVER}\b")" ]; then
echo -n "Removing old container (golang_${GOLANGVER}) ... "
docker rm -f golang_${GOLANGVER}
fi

if [ "$(docker ps -q -f 'name=/influxdb\b')" ]; then
echo -n "Removing old container (influxdb) ... "
docker rm -f influxdb
fi


# shellcheck source=scripts/common.sh
. "${__dir}/common.sh"

Expand Down

0 comments on commit fc0d138

Please sign in to comment.