Skip to content

Commit

Permalink
Endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsamuel committed Nov 27, 2024
1 parent c53aafd commit 8e6ccb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vault/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'invalid': {},
}
HEALTH_ENDPOINT = '{}/sys/health'.format(INSTANCES['main']['api_url'])
METRICS_GENERATION_ENDPOINT = '{}/auth/userpass/login/foo'.format(INSTANCES['main']['api_url'])
METRICS_GENERATION_ENDPOINT = '{}/v1/consul/roles/foo'.format(INSTANCES['main']['api_url'])

VAULT_VERSION = os.environ['VAULT_VERSION']

Expand Down
2 changes: 1 addition & 1 deletion vault/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def __call__(self):

# ping endpoint to generate metrics
requests.get(METRICS_GENERATION_ENDPOINT, timeout=1)
time.sleep(30)
time.sleep(2)


def api_working(api_endpoint):
Expand Down

0 comments on commit 8e6ccb9

Please sign in to comment.