Skip to content

Commit

Permalink
MariaDB service is listening on port 3306
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Bynum committed Aug 31, 2016
1 parent a0084c8 commit 49b84dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/running.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
}

0 comments on commit 49b84dd

Please sign in to comment.