Skip to content

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

Open
dossy wants to merge 1 commit intolib:masterfrom
dossy:fix-tests-for-supavisor
Open

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

Conversation

@dossy
Copy link
Contributor

@dossy dossy commented Feb 11, 2026

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
Copy link
Contributor Author

dossy commented Feb 11, 2026

@arp242 FYI.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant