GoogleCloudPlatform/pgadapter

Flaky test failures in Go TestSamples

olavloite opened this issue · 0 comments

--- FAIL: TestSamples (13.13s)
    samples_test.go:45: creating tables failed: failed to connect to `user=uid database=example-db`:
        	127.0.0.1:32769 (localhost): server error: FATAL: UNAVAILABLE: The connection string 'cloudspanner:/projects/emulator-project/instances/test-instance/databases/example-db;userAgent=pg-adapter;autoConfigEmulator=true;dialect=postgresql' contains host 'localhost:9010', but no running emulator or other server could be found at that address.
        	Please check the connection string and/or that the emulator is running. (SQLSTATE XX000)
        	[::1]:32[76](https://github.com/GoogleCloudPlatform/pgadapter/actions/runs/9583265314/job/26424163225?pr=1978#step:4:77)9 (localhost): server error: FATAL: UNAVAILABLE: The connection string 'cloudspanner:/projects/emulator-project/instances/test-instance/databases/example-db;userAgent=pg-adapter;autoConfigEmulator=true;dialect=postgresql' contains host 'localhost:9010', but no running emulator or other server could be found at that address.
        	Please check the connection string and/or that the emulator is running. (SQLSTATE XX000)