From 05076ac7d05ff13b76dd3bf4c51943cc39c8515a Mon Sep 17 00:00:00 2001
From: karnem <mikhail.karnevskiy@desy.de>
Date: Fri, 8 Sep 2023 10:59:38 +0200
Subject: [PATCH] Switch to message_id in find to fix the test.

---
 examples/pipeline/in_to_out/check_linux.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/pipeline/in_to_out/check_linux.sh b/examples/pipeline/in_to_out/check_linux.sh
index 85c9c1660..0a41099f9 100644
--- a/examples/pipeline/in_to_out/check_linux.sh
+++ b/examples/pipeline/in_to_out/check_linux.sh
@@ -52,7 +52,7 @@ cat out
 cat out | grep "Processed 3 file(s)"
 cat out | grep "Sent 3 file(s)"
 
-echo "db.data_default.find({"_id":1})" | mongo ${outdatabase_name} | tee /dev/stderr | grep file1_${data_source_out}
+echo "db.data_default.find({"message_id":1})" | mongo ${outdatabase_name} | tee /dev/stderr | grep file1_${data_source_out}
 
 cat ${receiver_folder}/processed/file1_${data_source_out} | grep hello1
 cat ${receiver_folder}/processed/file2_${data_source_out} | grep hello2
-- 
GitLab