Files
weichenandCursor be0c1e843f feat(dataset): registry, pause/resume backfill, destroy gates, eight tracks
批准 dataset 分类入库;SKIP LOCKED 分批;销毁默认 fail closed。restore 演练拒绝共享 env DSN。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 02:40:12 +00:00

23 lines
460 B
Go

package dataset
import (
"context"
"os"
"path/filepath"
"testing"
)
func TestEightTracksPass(t *testing.T) {
path := "testdata/registry.json"
if _, err := os.Stat(path); err != nil {
path = filepath.Join("internal", "dataset", "testdata", "registry.json")
}
rs := RunEightTracks(context.Background(), path)
if err := AllTracksPass(rs); err != nil {
for _, r := range rs {
t.Logf("%s ok=%v %s", r.Name, r.OK, r.Detail)
}
t.Fatal(err)
}
}