Skip to content

Commit 9b2c890

Browse files
author
Ryan Baxter
authored
Check if testcontainers.properties exists before removing it
1 parent 96f3b37 commit 9b2c890

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/integration-tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
rm ~/.testcontainers.properties
4+
if [ -f "~/.testcontainers.properties" ]; then
5+
rm ~/.testcontainers.properties
6+
fi
57
echo 'testcontainers.reuse.enable=true' > ~/.testcontainers.properties
68

79
./mvnw clean install -B -Pdocs ${@}

0 commit comments

Comments
 (0)