mbeckerle commented on a change in pull request #560:
URL: https://github.com/apache/daffodil/pull/560#discussion_r635299385



##########
File path: 
daffodil-core/src/test/scala/org/apache/daffodil/processor/TestSAXUtils.scala
##########
@@ -217,8 +224,10 @@ object TestSAXUtils {
       val msgs = pf.getDiagnostics.map { _.getMessage() }.mkString("\n")
       fail("pf compile errors: " + msgs)
     }
-    pf.sset.root.erd.preSerialization // force evaluation of all compile-time 
constructs
+    // pf.sset.root.erd.preSerialization // force evaluation of all 
compile-time constructs
     val dp = pf.onPath("/").asInstanceOf[DataProcessor]
+    val baos = new ByteArrayOutputStream()
+    dp.save(Channels.newChannel(baos)) // insures everything serialized.

Review comment:
       Created https://issues.apache.org/jira/browse/DAFFODIL-2521




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to