Closed adobrogows-ki closed 1 month ago
Adding the public link instead for archival purposes https://kedro.hall.community/support-lY6wDVhxGXNY/second-runner-run-fails-to-save-output-after-pipeline-upgrade-V5X74llZ8xD1
I cannot reproduce the issue following the description, I can produce the same error with following:
def test_data_science_pipeline(caplog, dummy_data, dummy_parameters):
pipeline = (
create_ds_pipeline()
.from_nodes("split_data_node")
.to_nodes("train_model_node")
)
catalog = DataCatalog()
catalog.add_feed_dict(
{
"model_input_table" : dummy_data,
"params:model_options": dummy_parameters["model_options"],
}
)
a = SequentialRunner().run(pipeline, catalog)
b = SequentialRunner().run(pipeline, catalog)
assert a == b
Description
output is saved only once when running the pipeline, testing with sequential runner
Context
fails testing where we need to run a pipeline many times and our server that relies on re-running pipeline many times
Steps to Reproduce
modify the test case
test_data_science_pipeline
to end with:Expected Result
a == b
Actual Result
b is empty
Your Environment