Skip to content

Commit

Permalink
test: check starting InnoDB without a volume
Browse files Browse the repository at this point in the history
Previous versions of MariaDB broke in certain scenarios
when using docker, aufs or other mounted drives with Mariadb `10.2.x`
and likely also some versions of `10.3.x`.

Fixes: #1
  • Loading branch information
jbergstroem committed Jun 21, 2020
1 parent f59b91a commit 5a7db9c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/02-innodb.bats
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ load test_helper
[[ "$status" -eq 0 ]]
decommission "${name}"
}

@test "start a server without a dedicated volume (issue #1)" {
local name="innodb-issue-1"
docker run -d --rm --name "${TEST_PREFIX}-${name}" "${IMAGE}":"${VERSION}"
sleep 5
run client_query "${name}" "-e 'select 1;'"
[[ "$status" -eq 0 ]]
decommission "${name}"
}

0 comments on commit 5a7db9c

Please sign in to comment.