Skip to content

Instantly share code, notes, and snippets.

@Magisus
Created July 22, 2021 21:49
Show Gist options
  • Save Magisus/cc7811f49e3b2d4587a3d89e8c0cd8a0 to your computer and use it in GitHub Desktop.
Save Magisus/cc7811f49e3b2d4587a3d89e8c0cd8a0 to your computer and use it in GitHub Desktop.
Running orchestrator tests
1. Install/update Docker Desktop
2. Clone https://github.com/steveax/docker-pglogical and follow its readme instructions
3. Run `./dev-setup` in the orchestrator repo, which will create all the relevant DB fixtures
4. Run `lein test`
Nick Lewis does:
`docker run --rm --name=orchestrator_test --env POSTGRES_PASSWORD=docker --detach \
--publish 5432:5432 postgres -c max-connections=200`
and
`PGHOST=localhost PGPASSWORD=docker ./dev-setup`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment