This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/master by this push:
new c7d000e [FIX] Fixed integration tests fir actionpipeline
new af97f31 Merge pull request #1188 from sramazzina/STRANGE-HALT
c7d000e is described below
commit c7d000ed4ffd2b8a226d7f10528a2a2fc890a416
Author: sergio.ramazzina <[email protected]>
AuthorDate: Thu Nov 4 08:31:39 2021 +0100
[FIX] Fixed integration tests fir actionpipeline
---
...-actionpipeline-verify-results-notavailable.hpl | 50 ++++++++++++++++++----
...main-0036-actionpipeline-check-clearresults.hwf | 2 +-
2 files changed, 42 insertions(+), 10 deletions(-)
diff --git
a/integration-tests/transforms/0036-actionpipeline-verify-results-notavailable.hpl
b/integration-tests/transforms/0036-actionpipeline-verify-results-notavailable.hpl
index 4f70f94..b33e812 100644
---
a/integration-tests/transforms/0036-actionpipeline-verify-results-notavailable.hpl
+++
b/integration-tests/transforms/0036-actionpipeline-verify-results-notavailable.hpl
@@ -57,13 +57,18 @@ limitations under the License.
<enabled>Y</enabled>
</hop>
<hop>
+ <from>Detect empty stream</from>
+ <to>Success!</to>
+ <enabled>Y</enabled>
+ </hop>
+ <hop>
<from>Count = 1</from>
- <to>Abort</to>
+ <to>Log Abort</to>
<enabled>Y</enabled>
</hop>
<hop>
- <from>Detect empty stream</from>
- <to>Success!</to>
+ <from>Log Abort</from>
+ <to>Abort</to>
<enabled>Y</enabled>
</hop>
</order>
@@ -120,7 +125,7 @@ limitations under the License.
</compare>
<attributes/>
<GUI>
- <xloc>480</xloc>
+ <xloc>448</xloc>
<yloc>112</yloc>
</GUI>
</transform>
@@ -177,6 +182,24 @@ limitations under the License.
</GUI>
</transform>
<transform>
+ <name>Get rows from result</name>
+ <type>RowsFromResult</type>
+ <description/>
+ <distribute>N</distribute>
+ <custom_distribution/>
+ <copies>1</copies>
+ <partitioning>
+ <method>none</method>
+ <schema_name/>
+ </partitioning>
+ <fields> </fields>
+ <attributes/>
+ <GUI>
+ <xloc>216</xloc>
+ <yloc>112</yloc>
+ </GUI>
+ </transform>
+ <transform>
<name>Success!</name>
<type>Dummy</type>
<description/>
@@ -194,20 +217,29 @@ limitations under the License.
</GUI>
</transform>
<transform>
- <name>Get rows from result</name>
- <type>RowsFromResult</type>
+ <name>Log Abort</name>
+ <type>WriteToLog</type>
<description/>
- <distribute>N</distribute>
+ <distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
- <fields> </fields>
+ <loglevel>log_level_basic</loglevel>
+ <displayHeader>Y</displayHeader>
+ <limitRows>N</limitRows>
+ <limitRowsNumber>0</limitRowsNumber>
+ <logmessage/>
+ <fields>
+ <field>
+ <name>Count</name>
+ </field>
+ </fields>
<attributes/>
<GUI>
- <xloc>216</xloc>
+ <xloc>560</xloc>
<yloc>112</yloc>
</GUI>
</transform>
diff --git
a/integration-tests/transforms/main-0036-actionpipeline-check-clearresults.hwf
b/integration-tests/transforms/main-0036-actionpipeline-check-clearresults.hwf
index 11b24ff..a762319 100644
---
a/integration-tests/transforms/main-0036-actionpipeline-check-clearresults.hwf
+++
b/integration-tests/transforms/main-0036-actionpipeline-check-clearresults.hwf
@@ -84,7 +84,7 @@ limitations under the License.
<filename>${PROJECT_HOME}/0036-actionpipeline-verify-results-notavailable.hpl</filename>
<params_from_previous>N</params_from_previous>
<exec_per_row>N</exec_per_row>
- <clear_rows>N</clear_rows>
+ <clear_rows>Y</clear_rows>
<clear_files>N</clear_files>
<set_logfile>N</set_logfile>
<logfile/>