From 76c918f8417ba77ffab4c15183afedb66616937e Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Fri, 8 Nov 2024 21:03:13 -0600 Subject: [PATCH] debug --- st2api/tests/integration/test_gunicorn_configs.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/st2api/tests/integration/test_gunicorn_configs.py b/st2api/tests/integration/test_gunicorn_configs.py index c663aa83a7..3de3d85424 100644 --- a/st2api/tests/integration/test_gunicorn_configs.py +++ b/st2api/tests/integration/test_gunicorn_configs.py @@ -44,6 +44,9 @@ def test_st2api_wsgi_entry_point(self): env["ST2_CONFIG_PATH"] = ST2_CONFIG_PATH env.update(st2tests.config.db_opts_as_env_vars()) env.update(st2tests.config.coord_opts_as_env_vars()) + for key in env: + if key.startswith("ST2"): + print(env[key]) process = subprocess.Popen(cmd, env=env, shell=True, preexec_fn=os.setsid) try: self.add_process(process=process) @@ -65,6 +68,9 @@ def test_st2auth(self): env["ST2_CONFIG_PATH"] = ST2_CONFIG_PATH env.update(st2tests.config.db_opts_as_env_vars()) env.update(st2tests.config.coord_opts_as_env_vars()) + for key in env: + if key.startswith("ST2"): + print(env[key]) process = subprocess.Popen(cmd, env=env, shell=True, preexec_fn=os.setsid) try: self.add_process(process=process)