From 1f584b0d0549e0170f74d952e63101456468e322 Mon Sep 17 00:00:00 2001 From: joergboe Date: Wed, 12 Aug 2020 14:43:16 +0200 Subject: [PATCH] Add test for Function waitForFinAndHealth --- test/toolkitTest/Runtests/JobNotHealth/Main.spl | 11 +++++++++++ test/toolkitTest/Runtests/JobNotHealth/TestCase.sh | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 test/toolkitTest/Runtests/JobNotHealth/Main.spl create mode 100644 test/toolkitTest/Runtests/JobNotHealth/TestCase.sh diff --git a/test/toolkitTest/Runtests/JobNotHealth/Main.spl b/test/toolkitTest/Runtests/JobNotHealth/Main.spl new file mode 100644 index 0000000..7d68c79 --- /dev/null +++ b/test/toolkitTest/Runtests/JobNotHealth/Main.spl @@ -0,0 +1,11 @@ +composite Main { + graph + stream S1 = DirectoryScan() { + param + directory: "xx"; + output S1: filename = FileName(); + } + + config + restartable: false; +} diff --git a/test/toolkitTest/Runtests/JobNotHealth/TestCase.sh b/test/toolkitTest/Runtests/JobNotHealth/TestCase.sh new file mode 100644 index 0000000..18c7467 --- /dev/null +++ b/test/toolkitTest/Runtests/JobNotHealth/TestCase.sh @@ -0,0 +1,4 @@ +# Submission test for Streams +PREPS='copyOnly' +STEPS='splCompile submitJobInterceptAndSuccess checkJobNo waitForFinAndHealth cancelJobAndLog' +FINS='cancelJob'