Skip to content

Commit

Permalink
Update sqlite3 tests to be compatible with the latest sqlite3 image
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Campbell <marc.e.campbell@gmail.com>
  • Loading branch information
marccampbell committed Feb 6, 2021
1 parent 656999e commit 72871bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/tests/sqlite/common.mk
Expand Up @@ -12,6 +12,8 @@ run:
touch ./db/db.db
docker pull keinos/sqlite3:latest
docker run --rm -v `pwd`/db:/db --name $(DATABASE_CONTAINER_NAME) keinos/sqlite3:latest sqlite3 /db/db.db
chmod a+w db # give the "sqlite" user in the container permissions
chmod a+w db/db.db # and permission to the file
docker run --rm -v `pwd`/db:/db -v `pwd`/fixtures.sql:/fixtures.sql --name $(DATABASE_CONTAINER_NAME) keinos/sqlite3:latest sqlite3 /db/db.db ".read /fixtures.sql"

# Plan
Expand Down

0 comments on commit 72871bf

Please sign in to comment.