diff --git a/libs/x-content/impl/src/main/java/org/elasticsearch/xcontent/provider/json/JsonXContentGenerator.java b/libs/x-content/impl/src/main/java/org/elasticsearch/xcontent/provider/json/JsonXContentGenerator.java index f22176930da64..09cbdf2d571cd 100644 --- a/libs/x-content/impl/src/main/java/org/elasticsearch/xcontent/provider/json/JsonXContentGenerator.java +++ b/libs/x-content/impl/src/main/java/org/elasticsearch/xcontent/provider/json/JsonXContentGenerator.java @@ -500,7 +500,7 @@ public void writeRawValue(InputStream stream, XContentType xContentType) throws public void writeRawValue(String value) throws IOException { try { if (supportsRawWrites()) { - generator.writeRaw(value); + generator.writeRawValue(value); } else { // fallback to a regular string for formats that don't allow writing the value as is generator.writeString(value); diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/profiling/10_basic.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/profiling/10_basic.yml index 1e0c260a70e4f..367655ba89388 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/profiling/10_basic.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/profiling/10_basic.yml @@ -166,9 +166,6 @@ teardown: --- "Test flamegraph from profiling-events": - - skip: - reason: "https://github.com/elastic/elasticsearch/issues/106103" - version: "all" - do: profiling.flamegraph: body: > @@ -195,9 +192,6 @@ teardown: --- "Test flamegraph from test-events": - - skip: - reason: "https://github.com/elastic/elasticsearch/issues/106103" - version: "all" - do: profiling.flamegraph: body: >