diff --git a/loadgen/kitchen-sink-gen/src/main.rs b/loadgen/kitchen-sink-gen/src/main.rs index 9ec688a..728c71b 100644 --- a/loadgen/kitchen-sink-gen/src/main.rs +++ b/loadgen/kitchen-sink-gen/src/main.rs @@ -810,9 +810,9 @@ fn empty_payload() -> Payload { Payload { metadata: { let mut m = HashMap::new(); - m.insert("encoding".to_string(), "json/plain".into()); + m.insert("encoding".to_string(), "binary/null".into()); m }, - data: serde_json::to_vec("").expect("serializes"), + data: vec![], // Empty } } diff --git a/scenarios/fuzzer.go b/scenarios/fuzzer.go index 0d97ac8..83adf60 100644 --- a/scenarios/fuzzer.go +++ b/scenarios/fuzzer.go @@ -2,6 +2,7 @@ package scenarios import ( "context" + "github.com/temporalio/omes/loadgen" ) @@ -16,6 +17,10 @@ func init() { if ok && seed != "" { args = append(args, "--explicit-seed", seed) } + config, ok := info.ScenarioOptions["config"] + if ok && config != "" { + args = append(args, "--generator-config-override", config) + } return loadgen.FileOrArgs{ Args: args, }