fix: order command controls after dispatch
This commit is contained in:
@@ -40,7 +40,7 @@ func defaultServerFile() serverFile {
|
||||
},
|
||||
Observability: observabilityFile{
|
||||
Listen: "127.0.0.1:6901", LivenessPath: "/livez", ReadinessPath: "/readyz",
|
||||
MetricsPath: "/metrics", LogLevel: "info", LogFormat: "json",
|
||||
MetricsPath: "/metrics", LogLevel: "info", LogFormat: "json", LogMaxBytes: 10 << 20, LogMaxFiles: 5,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ func TestEffectiveConfigurationGolden_HP_CFG_09(t *testing.T) {
|
||||
t.Fatal("effective server configuration is nondeterministic")
|
||||
}
|
||||
digest := sha256.Sum256(first)
|
||||
const goldenSHA256 = "55c5fec2c10bc27372353a60f317c5a2959f8087685cf7c11202bb12dc59aa28"
|
||||
const goldenSHA256 = "65c938efd935ce0c0d2354cdb62c38a2dc177755520d1ae1e5951902a70dd323"
|
||||
if got := hex.EncodeToString(digest[:]); got != goldenSHA256 {
|
||||
t.Fatalf("effective server configuration golden changed: got %s", got)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user