fix(fuse-tests): drop glog globals from TestWriteBufferCap mount options

-logtostderr and -v are glog globals parsed before the subcommand; weed
mount's flag set rejects them, so the mount process exited with a usage
error and the test silently ran against the local disk (masked until
waitForMount started verifying a real mount). glog already writes to
stderr here by default, so the options were also redundant.
This commit is contained in:
Chris Lu committed 2026-07-02 15:47:41 -07:00
1 parent 57246c345b
commit 1fe294fd44
1 file changed
+3 -7
@@ -88,13 +88,9 @@ func writeBufferCapConfig(debugPort int) *TestConfig {
"-writeBufferSizeMB=16",
"-debug=true",
fmt.Sprintf("-debug.port=%d", debugPort),
// Route glog to stderr so the framework's process log
// capture actually contains something — by default weed
// sends glog to /tmp/weed.* files which the CI artifact
// upload step never sees. Critical for diagnosing
// upload/saveToStorage errors on Linux runs.
"-logtostderr=true",
"-v=2",
// NOTE: glog flags (-logtostderr, -v) are globals parsed
// before the subcommand; passing them here makes weed
// mount exit with a usage error before ever mounting.
},
SkipCleanup: false,
}