GitHub user gmitter-ef edited a comment on the discussion: Unit Tests: How to 
exit the unit test mode to enable regular execution?

The problem we encounter is the following:
* in a pipeline that has a unit test enabled and active, after DETACHING it 
(via "Detach the unit test from this pipeline"), 
** in 2.14 we see that in the metadata-json of the unit test, the attribute 
"pipeline_filename" gets CLEARED OUT (and so does the corresponding value for 
"The pipeline to test" in the GUI!), and the drop down for "Unit test:" does 
NOT CONTAIN IT ANYMORE for selection. You have to manually reset it either in 
the JSON of the metadata json of the unit test (attribute "pipeline_filename"), 
or via the Hop GUI under "The pipeline to test".
** in 2.9 the JSON of the unit test remains unmodified, so you can attach and 
detach the unit test to/from the pipeline as you would expect, the dropdown 
still contains the unit test that got detached from the pipeline

Further source of confusion is the semantics of "Test pipeline filename 
(Optional)" which seems to correspond to "persist_pipeline" attribute in the 
metadata json file.

GitHub link: 
https://github.com/apache/hop/discussions/5352#discussioncomment-13419660

----
This is an automatically sent email for users@hop.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@hop.apache.org

Reply via email to