Skip to content

Instantly share code, notes, and snippets.

@chaporgin
Created May 3, 2022 11:40
Show Gist options
  • Select an option

  • Save chaporgin/69450c772b54adf330bc5942a020031c to your computer and use it in GitHub Desktop.

Select an option

Save chaporgin/69450c772b54adf330bc5942a020031c to your computer and use it in GitHub Desktop.
chapson quick paste
m ~/D/zenithdb kubectl logs zenith-console-periodic-e2e-test-27526284-gm7xm -f
2022/05/03 11:39:16 Waiting for: https://console.stage.neon.tech/healthz
2022/05/03 11:39:16 Received 200 from https://console.stage.neon.tech/healthz
============================= test session starts ==============================
platform linux -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0 -- /usr/local/bin/python
cachedir: /tmp/.pytest_cache
rootdir: /tests_e2e, configfile: ../etc/e2e/pytest.ini
plugins: anyio-3.5.0, asyncio-0.18.3, order-1.0.1, timeout-2.1.0
asyncio: mode=auto
collecting ... collected 57 items / 13 deselected / 44 selected
tests/test_api_keys.py::test_api_key_new_key_with_same_name PASSED [ 2%]
tests/test_api_keys.py::test_api_key_not_exists_is_authentication_error PASSED [ 4%]
tests/test_api_keys.py::test_api_key_can_auth_with_new_key PASSED [ 6%]
tests/test_cluster.py::test_cluster_get PASSED [ 9%]
tests/test_cluster.py::test_get_clusters PASSED [ 11%]
tests/test_cluster.py::test_cluster_proxy_query FAILED [ 13%]
=================================== FAILURES ===================================
___________________________ test_cluster_proxy_query ___________________________
Traceback (most recent call last):
File "/tests_e2e/tests/test_cluster.py", line 108, in test_cluster_proxy_query
with proxy_query(
File "/usr/local/lib/python3.9/contextlib.py", line 119, in __enter__
return next(self.gen)
File "/tests_e2e/common/cluster.py", line 82, in proxy_query
conn = psycopg2.connect(
File "/usr/local/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: timeout expired
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment