Fixed the non deterministic test testSerdeWithSpecAndInputFormat

This commit is contained in:
Yug Vajani 2024-11-21 10:43:51 -06:00
parent bb44f85bb6
commit f54f0134b2
1 changed files with 17 additions and 11 deletions

View File

@ -409,16 +409,22 @@ public class KafkaSupervisorSpecTest
+ " \"spec\": {\n" + " \"spec\": {\n"
+ " \"dataSchema\": {\n" + " \"dataSchema\": {\n"
+ " \"dataSource\": \"metrics-kafka\",\n" + " \"dataSource\": \"metrics-kafka\",\n"
+ " \"timestampSpec\": {\n" + " \"parser\": {\n"
+ " \"column\": \"timestamp\",\n" + " \"type\": \"string\",\n"
+ " \"format\": \"auto\"\n" + " \"parseSpec\": {\n"
+ " },\n" + " \"format\": \"json\",\n"
+ " \"dimensionsSpec\": {\n" + " \"timestampSpec\": {\n"
+ " \"dimensions\": [],\n" + " \"column\": \"timestamp\",\n"
+ " \"dimensionExclusions\": [\n" + " \"format\": \"auto\"\n"
+ " \"timestamp\",\n" + " },\n"
+ " \"value\"\n" + " \"dimensionsSpec\": {\n"
+ " ]\n" + " \"dimensions\": [],\n"
+ " \"dimensionExclusions\": [\n"
+ " \"timestamp\",\n"
+ " \"value\"\n"
+ " ]\n"
+ " }\n"
+ " }\n"
+ " },\n" + " },\n"
+ " \"metricsSpec\": [\n" + " \"metricsSpec\": [\n"
+ " {\n" + " {\n"
@ -456,7 +462,7 @@ public class KafkaSupervisorSpecTest
+ " \"fields\": []\n" + " \"fields\": []\n"
+ " },\n" + " },\n"
+ " \"featureSpec\": {}\n" + " \"featureSpec\": {}\n"
+ " }," + " },\n"
+ " \"consumerProperties\": {\n" + " \"consumerProperties\": {\n"
+ " \"bootstrap.servers\": \"localhost:9092\"\n" + " \"bootstrap.servers\": \"localhost:9092\"\n"
+ " },\n" + " },\n"