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 0759e4f commit d9fa388
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ load ../common

@test "MariaDB service available" {
docker run -i $maintainer/$imagename find /usr/lib/systemd/system/mariadb.service
}
}

@test "MariaDB service is listening on port 3306" {
docker exec -it $imagename netstat -tulpn | grep :3306
}

0 comments on commit d9fa388

Please sign in to comment.