fix: order command controls after dispatch
This commit is contained in:
@@ -619,6 +619,24 @@ layer = "unit"
|
||||
status = "implemented"
|
||||
tests = ["test/windowsnative/native_fixture_test.go:TestProductionComposeAssets_HP_OPS_01"]
|
||||
|
||||
[[requirements]]
|
||||
id = "HP-OPS-02"
|
||||
layer = "unit"
|
||||
status = "implemented"
|
||||
tests = ["internal/observability/rotate_test.go:TestRotatingFileBoundsArchives_HP_OPS_02"]
|
||||
|
||||
[[requirements]]
|
||||
id = "BH-OPS-03"
|
||||
layer = "unit"
|
||||
status = "implemented"
|
||||
tests = ["internal/observability/rotate_test.go:TestRotatingFileRejectsPartialRotationConfig_BH_OPS_03"]
|
||||
|
||||
[[requirements]]
|
||||
id = "HP-OPS-04"
|
||||
layer = "unit"
|
||||
status = "implemented"
|
||||
tests = ["internal/observability/rotate_test.go:TestFormatLogWritesStructuredBoundedRecords_HP_OPS_04"]
|
||||
|
||||
[[requirements]]
|
||||
id = "HP-STORE-01"
|
||||
layer = "integration"
|
||||
|
||||
@@ -102,7 +102,7 @@ func TestProductionComposeAssets_HP_OPS_01(t *testing.T) {
|
||||
}
|
||||
}
|
||||
config := read("deploy/production/server.toml.example")
|
||||
for _, required := range []string{"agent_listen = \"0.0.0.0:6899\"", "listen = \"0.0.0.0:6901\"", "enabled = false"} {
|
||||
for _, required := range []string{"agent_listen = \"0.0.0.0:6899\"", "listen = \"0.0.0.0:6901\"", "enabled = false", "log_file = \"/var/lib/rvbox-server/logs/rvbox-server.log\"", "log_max_bytes = 10485760", "log_max_files = 5"} {
|
||||
if !strings.Contains(config, required) {
|
||||
t.Fatalf("production server example is missing %q", required)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user