pomerium/internal/testenv
Caleb Doxsey 9471527a35
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
2025-07-23 14:07:11 -06:00
..
envutil testenv: embedded envoy cpu/memory profiling config (#5377) 2025-01-03 17:41:54 -05:00
scenarios ssh: add runtime flag for jump host mode (#5699) 2025-07-07 12:29:05 -04:00
selftests chore(deps): bump the go group with 24 updates (#5638) 2025-06-17 09:36:50 -07:00
snippets logging: standardize on hyphens in attribute names (#5577) 2025-04-22 10:57:19 -07:00
upstreams refactor testenv mock IdP to also work standalone (#5678) 2025-06-27 14:04:58 -07:00
values New tracing system (#5388) 2025-01-21 13:26:32 -05:00
dns.go testenv: avoid dns lookups for *.localhost.pomerium.io (#5372) 2024-12-02 12:29:15 -05:00
environment.go test improvements (#5741) 2025-07-23 14:07:11 -06:00
logs.go New tracing system (#5388) 2025-01-21 13:26:32 -05:00
route.go add tests/benchmarks for http1/http2 tcp tunnels and http1 websockets (#5471) 2025-03-19 18:42:19 -04:00
temp.go New tracing system (#5388) 2025-01-21 13:26:32 -05:00
temp_darwin.go upgrade to go v1.24 (#5562) 2025-04-02 15:53:09 -06:00
types.go testenv: add support for SSH routes/upstreams (#5676) 2025-06-26 10:49:52 -07:00