Features: timeout-support

Test nw-sleep-002

Tests that p:sleep works.

Test is expected to fail with error code err:XD0053.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:ex="http://test" xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result"/>
   <p:group timeout="2">
      <p:identity>
         <p:with-input>
            <doc/>
         </p:with-input>
      </p:identity>
      <p:sleep duration="5"/>
   </p:group>
</p:declare-step>

Revision history

04 Jan 2025, Norm Tovey-Walsh
Adjusted duration now that it’s expected to be in seconds.
28 Dec 2024, Norm Tovey-Walsh
Initial commit.