test: the four reproductions skip unless SEAWEED_KNOWN_BUGS=1 (#186 #187 #188 #189)

Each names its open issue; the fix PR removes its skip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-19 18:11:08 -08:00
1 parent 48527ef2ce
commit 951fa7985e
4 files changed
+14

No files matched your search

@@ -8,6 +8,9 @@ import (
)
func TestChartOptInLoopbackFlagIsAcceptedByBlockmaster(t *testing.T) {
if os.Getenv("SEAWEED_KNOWN_BUGS") != "1" {
t.Skip("known bug #186 (open): reproduction runs with SEAWEED_KNOWN_BUGS=1; the fix PR removes this skip")
}
raw, err := os.ReadFile(filepath.Join("..", "..", "charts", "seaweed-block", "templates", "blockmaster.yaml"))
if err != nil {
t.Fatal(err)
@@ -9,6 +9,9 @@ import (
)
func TestChartDefaultAuthorityStateSurvivesPodReplacement(t *testing.T) {
if os.Getenv("SEAWEED_KNOWN_BUGS") != "1" {
t.Skip("known bug #187 (open): reproduction runs with SEAWEED_KNOWN_BUGS=1; the fix PR removes this skip")
}
var values struct {
Blockmaster struct {
StateHostPath string `yaml:"stateHostPath"`
@@ -1,11 +1,15 @@
package ops
import (
"os"
"testing"
"time"
)
func TestDeleteSafety_UntimedCleanupCannotProveFreshness(t *testing.T) {
if os.Getenv("SEAWEED_KNOWN_BUGS") != "1" {
t.Skip("known bug #188 (open): reproduction runs with SEAWEED_KNOWN_BUGS=1; the fix PR removes this skip")
}
decision := EvaluateSwBlockVolumeDeleteSafety(SwBlockVolumeDeleteSafetyFacts{
DeleteRequested: true, FinalizerPresent: true,
ObservedAt: time.Date(2026, 11, 17, 0, 0, 0, 0, time.UTC), MaxEvidenceAge: 15 * time.Minute,
@@ -2,11 +2,15 @@ package storage
import (
"io"
"os"
"path/filepath"
"testing"
)
func TestMultiBlockRecordsRequireDistinctOnDiskImplVersion(t *testing.T) {
if os.Getenv("SEAWEED_KNOWN_BUGS") != "1" {
t.Skip("known bug #189 (open): reproduction runs with SEAWEED_KNOWN_BUGS=1; the fix PR removes this skip")
}
s, err := CreateWALStore(filepath.Join(t.TempDir(), "store"), 64, 4096)
if err != nil {
t.Fatal(err)