mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-09 17:28:58 +00:00
|
Some checks are pending
CI / test (push) Waiting to run
Prevent make test from polluting ~/.opencodereview/sessions/ with thousands of var-folders-* directories by redirecting test session writes to ~/.opencodereview/test-sessions/. Introduce a package-level sessionSubDir variable (default "sessions") and an exported UseTestSessions() function that switches it to "test-sessions". Each test package that creates sessions calls UseTestSessions() from init() in an init_test.go file. |
||
|---|---|---|
| .. | ||
| agent.go | ||
| agent_test.go | ||
| batch.go | ||
| batch_test.go | ||
| budget_test.go | ||
| coverage_test.go | ||
| dedup_test.go | ||
| estimate.go | ||
| estimate_test.go | ||
| init_test.go | ||
| preview.go | ||
| provider.go | ||
| provider_test.go | ||