diff --git a/tests/running.bats b/tests/running.bats index 2212116..fd76935 100644 --- a/tests/running.bats +++ b/tests/running.bats @@ -4,6 +4,10 @@ load ../common # Assumes process is running +@test "MariaDB service is listening on port 3306" { + docker exec -it $imagename netstat -tulpn | grep :3306 +} + @test "MySQL user running process" { docker exec -i $imagename ps -u mysql } @@ -14,4 +18,4 @@ load ../common @test "Creates user account with password" { docker exec -i $imagename mysql -u registry_user --password="WJzesbe3poNZ91qIbmR7" -h 127.0.0.1 -e 'show tables' registry -} \ No newline at end of file +}