From 49b84dd3e4de29259d7321b91a01b984fabb8a87 Mon Sep 17 00:00:00 2001 From: Chris Bynum Date: Wed, 31 Aug 2016 13:33:42 -0400 Subject: [PATCH] MariaDB service is listening on port 3306 --- tests/running.bats | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 +}