Last active
July 19, 2016 14:02
-
-
Save jay-johnson/ede43dfd38e93a4a7f54e972b5158677 to your computer and use it in GitHub Desktop.
Test 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else if (test_num == 2) | |
{ | |
// Test there's nothing established on the port since nginx is not running: | |
sh "docker exec -t ${container_name} netstat -apn | grep 80 | grep ESTABLISHED | wc -l | tr -d '\n' > /tmp/test_results" | |
expected_results = 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment