Files
seaweedfs/seaweed-block/core/host/l2helpers_test.go
T
wzcheng99 55793d49bc T0 closure: blockmaster/blockvolume hosting + D1-D5 tests
Product binaries (cmd/blockmaster, cmd/blockvolume) and
core/host wiring for volume-scoped assignment delivery,
durable authority with Windows rename retry, and the T0
closure test set (D1 L2 subprocess, D2 G1 adversarial,
D3 concurrent write-reload regression, D4 hosting-smoke
scenario + Go-native replay, D5 --topology flag).

Diagnostic surfaces: ObservationStore.SupersededCount
(PCDD-DELAYED-HB-001 evidence, not authority input) and
SetNowForTest clock seam on Store/Host, guarded by grep
test ensuring the identifier stays out of production files.
2026-04-21 02:02:52 -07:00

11 lines
292 B
Go

package host_test
import "os"
// writeFileRaw is a thin shim around os.WriteFile used by L2
// artifact writers. Kept in a separate file so the subprocess
// test file's import set stays minimal.
func writeFileRaw(path string, data []byte) error {
return os.WriteFile(path, data, 0o644)
}