返回 DeepSeek-Reasonix
lease_guard_test.go
根目录 / tools / sessioncapacity / lease_guard_test.go
1 package main
2
3 import (
4 "testing"
5
6 "reasonix/internal/testenv"
7 )
8
9 // run opens session services; one left open keeps its writer lease and recovery
10 // store, which only Windows reports as a t.TempDir cleanup failure.
11 func TestMain(m *testing.M) {
12 testenv.RunWithLeaseGuard(m)
13 }
14
14 lines GO