assertNotNull(output);
assertFalse(output.isEmpty());
- String expectedString = "_app_" + RETRIEVER_NAME + "_" + CONTEXT_NAME + " = { string = \"" + CONTEXT_VALUE + "\" } }";
+ String traceRetriverName = RETRIEVER_NAME.replace('.', '_');
+ String traceContextName = CONTEXT_NAME.replace('.', '_');
+
+ String expectedString = "_app_" + traceRetriverName + "_" + traceContextName + " = { string = \"" + CONTEXT_VALUE + "\" } }";
output.forEach(line -> assertTrue(line.contains(expectedString)));
}