- Download alghi testcases from here.
- Download the test: testcases.bash
- Put all tests, testcases.bash, and the '.java' file in the same folder.
- Run the test: In Linux/Mac terminal or git bash:
bash testcases.bash
- The diff shows if something is different:\
This file contains 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
import subprocess | |
from time import sleep | |
hostname = "74.125.24.106" | |
host_desc = "Google" | |
amount = 10 | |
time_unstable = 40 | |
time_very_unstable = 100 | |
time_missing = 1000 |
This file contains 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
# /etc/nginx/sites-enabled/default | |
# Django load balancing | |
# | |
upstream django_server { | |
server localhost:9000; | |
server localhost:8000; | |
} | |
# Default server configuration |