Skip to content

Fix tests, add support for testing against Supavisor. - #1262

Open
dossy wants to merge 1 commit into
lib:mainfrom
dossy:fix-tests-for-supavisor
Open

Fix tests, add support for testing against Supavisor.#1262
dossy wants to merge 1 commit into
lib:mainfrom
dossy:fix-tests-for-supavisor

Conversation

@dossy

@dossy dossy commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Start Supavisor:

$ docker compose up -d supavisor-create-tenant

Run tests in session mode:

$ PGPORT=5452 PGHOST=localhost PGUSER=pqgo.dev_tenant PGPASSWORD=unused go test -shuffle=on -failfast -timeout 30m -count=5

Run tests in transaction mode:

$ PGPORT=6543 PGHOST=localhost PGUSER=pqgo.dev_tenant PGPASSWORD=unused go test -shuffle=on -failfast -timeout 30m -count=5

A number of tests were leaking connections due to missing cleanup/close
calls.

Start Supavisor:

```shell
$ docker compose up -d supavisor-create-tenant
```

Run tests in session mode:

```shell
$ PGPORT=5452 PGHOST=localhost PGUSER=pqgo.dev_tenant PGPASSWORD=unused go test -shuffle=on -failfast -timeout 30m -count=5
```

Run tests in transaction mode:

```shell
$ PGPORT=6543 PGHOST=localhost PGUSER=pqgo.dev_tenant PGPASSWORD=unused go test -shuffle=on -failfast -timeout 30m -count=5
```

A number of tests were leaking connections due to missing cleanup/close
calls.
@dossy

dossy commented Feb 11, 2026

Copy link
Copy Markdown
Contributor Author

@arp242 FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant