mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-29 14:39:40 +02:00
test improvements (#5741)
## Summary Some test improvements: - disable the race detector on macos, which currently results in a ton of linking errors, and I think doing race detection on linux is sufficient to find stuff - add build tags to the `integration` folder so it's not included by default when running `go test ./...` - remove some unused stuff in the Makefile - change the file `testenv` searches for from `.git` to `go.mod` which allows test caching to work more reliably - remove the test for orphaned connections in postgres. It doesn't actually make sense because we have listener connections in the background. I think it was racy. - fix yarn caching ## Checklist - [ ] reference any related issues - [x] updated unit tests - [x] add appropriate label (`enhancement`, `bug`, `breaking`, `dependencies`, `ci`) - [x] ready for review
This commit is contained in:
parent
f1ed893e10
commit
9471527a35
10 changed files with 34 additions and 28 deletions
|
@ -1,3 +1,5 @@
|
|||
//go:build integration
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue