Skip to content

Commit

Permalink
Merge pull request #6 from tiangolo/default-workers-per-core-1
Browse files Browse the repository at this point in the history
Update tests with default workers per core set to 1
  • Loading branch information
tiangolo authored Mar 4, 2019
2 parents 30478e5 + b81124d commit 57f398b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_01_main/test_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

def verify_container(container, response_text):
config_data = get_config(container)
assert config_data["workers_per_core"] == 2
assert config_data["workers_per_core"] == 1
assert config_data["host"] == "0.0.0.0"
assert config_data["port"] == "80"
assert config_data["loglevel"] == "info"
assert config_data["workers"] > 2
assert config_data["workers"] >= 2
assert config_data["bind"] == "0.0.0.0:80"
logs = get_logs(container)
assert "Checking for script in /app/prestart.sh" in logs
Expand Down

0 comments on commit 57f398b

Please sign in to comment.