Skip to content

Commit a82b45e

Browse files
- Host issue fixed.
- Some cleanup of `robot` materials.
1 parent 9718d82 commit a82b45e

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

test/robot/integration/stackql_integration_from_cmd_line.robot

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,6 @@ Start Mock Server
4646
Sleep 5s
4747
[Return] ${process}
4848

49-
50-
Prepare StackQL Environment
51-
Set Environment Variable OKTA_SECRET_KEY ${OKTA_SECRET_STR}
52-
Set Environment Variable GITHUB_SECRET_KEY ${GITHUB_SECRET_STR}
53-
Set Environment Variable K8S_SECRET_KEY ${K8S_SECRET_STR}
54-
Set Environment Variable DB_SETUP_SRC ${DB_SETUP_SRC}
55-
Start Mock Server ${JSON_INIT_FILE_PATH_GOOGLE} ${MOCKSERVER_JAR} ${MOCKSERVER_PORT_GOOGLE}
56-
Start Mock Server ${JSON_INIT_FILE_PATH_OKTA} ${MOCKSERVER_JAR} ${MOCKSERVER_PORT_OKTA}
57-
Start StackQL PG Server mTLS ${PG_SRV_PORT_MTLS} ${PG_SRV_MTLS_CFG_STR}
58-
Start StackQL PG Server unencrypted ${PG_SRV_PORT_UNENCRYPTED}
59-
60-
6149
Run StackQL Exec Command
6250
[Arguments] ${_REGISTRY_CFG_STR} ${_EXEC_CMD_STR} @{varargs}
6351
Set Environment Variable OKTA_SECRET_KEY ${OKTA_SECRET_STR}

test/robot/lib/web_service_keywords.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def create_oauth2_client_credentials_web_service(
3535
'flask',
3636
f'--app={self._web_server_app}',
3737
'run',
38+
'--host=0.0.0.0', # otherwise, invisible on `docker.host.internal` etc
3839
f'--port={port}',
3940
stdout=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'log', f'token-client-credentials-{port}-stdout.txt')),
4041
stderr=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'log', f'token-client-credentials-{port}-stderr.txt'))

0 commit comments

Comments
 (0)