fix test
This commit is contained in:
parent
6896943e38
commit
349b0b3523
@ -53,7 +53,7 @@ droneci_autoscaler_agent_package_upgrade: False
|
||||
droneci_autoscaler_instances: []
|
||||
# @var droneci_autoscaler_instances:example: >
|
||||
# droneci_autoscaler_instances:
|
||||
# - name: scaler-amd64
|
||||
# - name: scaler_amd64
|
||||
# pool_max: 50
|
||||
# pool_ttl: 120m
|
||||
# agent_concurrency: 15
|
||||
|
@ -12,7 +12,7 @@
|
||||
- name: droneci_default
|
||||
droneci_autoscaler_service_stopped: True
|
||||
droneci_autoscaler_instances:
|
||||
- name: scaler-amd64
|
||||
- name: scaler_amd64
|
||||
pool_max: 50
|
||||
pool_ttl: 120m
|
||||
agent_concurrency: 15
|
||||
|
@ -11,5 +11,6 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
|
||||
def test_droneci_compose_file(host):
|
||||
f = host.file(
|
||||
'/var/lib/docker/services/droneci_autoscaler_amd64/docker-compose.yml')
|
||||
'/var/lib/docker/services/droneci_autoscaler_scaler_amd64/docker-compose.yml'
|
||||
)
|
||||
assert f.exists
|
||||
|
Loading…
Reference in New Issue
Block a user