feat: add Linux server operational delivery assets

This commit is contained in:
2026-09-11 05:52:26 +00:00
parent 409b64a2fb
commit c709b27e5e
12 changed files with 412 additions and 50 deletions
+26
View File
@@ -123,6 +123,32 @@ func TestE2EScenarioValidationAndRunIdentity_HP_E2E_01(t *testing.T) {
}
}
func TestStableSuiteAndScenarioListing_HP_CFG_01(t *testing.T) {
t.Parallel()
var output bytes.Buffer
h := &harness{root: t.TempDir(), now: time.Now, out: &output}
if err := h.integration(context.Background(), []string{"--list"}); err != nil {
t.Fatalf("list integration suites: %v", err)
}
if got, want := output.String(), "integration suites:\nsample\nstore\nserver-session\n"; got != want {
t.Fatalf("integration list = %q, want %q", got, want)
}
output.Reset()
if err := h.e2e(context.Background(), []string{"--list"}); err != nil {
t.Fatalf("list e2e scenarios: %v", err)
}
if got, want := output.String(), "e2e scenarios:\nsmoke\nscript\nrecovery\nall\n"; got != want {
t.Fatalf("e2e list = %q, want %q", got, want)
}
if err := h.integration(context.Background(), []string{"--suite", "store", "--case", "["}); err == nil {
t.Fatal("invalid --case regexp succeeded")
}
if err := h.e2e(context.Background(), []string{"--scenario", "all", "--case", "Test"}); err == nil {
t.Fatal("--case with all scenarios succeeded")
}
}
func TestBoundedSuiteLogAndFailedRunRecovery_BH_STORE_03(t *testing.T) {
t.Parallel()