feat: add native Windows hierarchy test harness

This commit is contained in:
2026-09-09 16:48:54 +00:00
parent 8985457d37
commit 409b64a2fb
30 changed files with 1033 additions and 44 deletions
+8
View File
@@ -5,6 +5,7 @@ import (
"context"
"crypto/sha256"
"errors"
"net/url"
"os"
"path/filepath"
"testing"
@@ -16,6 +17,13 @@ import (
"google.golang.org/protobuf/proto"
)
func TestSQLiteFileURIWindowsDrivePath(t *testing.T) {
query := url.Values{"_pragma": {"journal_mode(WAL)"}}
if got, want := sqliteFileURI(`C:\ProgramData\RVBox\test-state\spool.db`, query), "file:///C:/ProgramData/RVBox/test-state/spool.db?_pragma=journal_mode%28WAL%29"; got != want {
t.Fatalf("sqliteFileURI() = %q, want %q", got, want)
}
}
func TestExecutionSpecIsDurableAndQuotaCounted_HP_DISPATCH_07(t *testing.T) {
t.Parallel()
ctx := context.Background()