test(s3tables): capture weed mini stdout/stderr in catalog_spark tests

Without this, when "weed mini" fails to bind its master port within the
45s startup timeout the only diagnostic is the timeout message itself,
making flakes impossible to root-cause. The sibling catalog, catalog_dremio,
and catalog_trino packages already wire stdout/stderr through; bring
catalog_spark in line.
This commit is contained in:
Chris Lu
2026-05-03 21:39:42 -07:00
parent 6844ec067c
commit 87bb0a4115
@@ -121,6 +121,8 @@ func (env *TestEnvironment) StartSeaweedFS(t *testing.T) {
"ICEBERG_WAREHOUSE=s3://iceberg-tables",
"S3TABLES_DEFAULT_BUCKET=iceberg-tables",
)
env.masterProcess.Stdout = os.Stdout
env.masterProcess.Stderr = os.Stderr
if err := env.masterProcess.Start(); err != nil {
t.Fatalf("failed to start weed mini: %v", err)
}