From 90f4c6631b9e06b59c2d948a7d1715ecd5fd825f Mon Sep 17 00:00:00 2001 From: karnem <mikhail.karnevskiy@desy.de> Date: Wed, 27 Dec 2023 21:48:44 +0100 Subject: [PATCH] Add more printouts to tests --- tests/automatic/full_chain/simple_chain_filegen/check_linux.sh | 3 +++ .../full_chain/simple_chain_filegen_batches/check_linux.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/automatic/full_chain/simple_chain_filegen/check_linux.sh b/tests/automatic/full_chain/simple_chain_filegen/check_linux.sh index b2e8905f5..bf8182359 100644 --- a/tests/automatic/full_chain/simple_chain_filegen/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_filegen/check_linux.sh @@ -49,6 +49,9 @@ echo hello > /tmp/asapo/test_in/processed/test2/file1 echo "Start consumer in metadata only mode" $consumer_bin ${proxy_address} ${receiver_folder} ${beamtime_id} 2 $token 1000 1 | tee /dev/stderr out +echo "Consumer output" +cat out +echo "grep checks" grep "Processed 3 file(s)" out test ! -f /tmp/asapo/test_in/processed/test1/file1 diff --git a/tests/automatic/full_chain/simple_chain_filegen_batches/check_linux.sh b/tests/automatic/full_chain/simple_chain_filegen_batches/check_linux.sh index ca07ab0fe..9c76ad6b1 100644 --- a/tests/automatic/full_chain/simple_chain_filegen_batches/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_filegen_batches/check_linux.sh @@ -52,6 +52,9 @@ echo hello > /tmp/asapo/test_in/processed/test2/file1 echo "Start consumer in metadata only mode" $consumer_bin ${proxy_address} ${receiver_folder} ${beamtime_id} 2 $token 2000 1 1 | tee out +echo "Consumer output" +cat out +echo "grep checks" grep "Processed 1 dataset(s)" out grep "with 3 file(s)" out -- GitLab