From 66dfc7259b935b936ada983a9d931d75c5bb5562 Mon Sep 17 00:00:00 2001 From: Sergey Yakubov <sergey.yakubov@desy.de> Date: Thu, 20 May 2021 12:59:58 +0200 Subject: [PATCH] increase timeout --- tests/automatic/full_chain/simple_chain/check_linux.sh | 2 +- .../automatic/full_chain/simple_chain_dataset/check_linux.sh | 2 +- .../automatic/full_chain/simple_chain_filegen/check_linux.sh | 4 +++- .../full_chain/simple_chain_filegen_batches/check_linux.sh | 2 +- .../simple_chain_filegen_multisource/check_linux.sh | 2 +- .../simple_chain_filegen_readdata_cache/check_linux.sh | 2 +- .../simple_chain_filegen_readdata_file/check_linux.sh | 2 +- .../automatic/full_chain/simple_chain_metadata/check_linux.sh | 2 +- tests/automatic/full_chain/simple_chain_raw/check_linux.sh | 2 +- .../full_chain/simple_chain_usermeta_python/check_linux.sh | 2 +- tests/automatic/full_chain/two_beamlines/check_linux.sh | 2 +- tests/automatic/full_chain/two_streams/check_linux.sh | 2 +- 12 files changed, 14 insertions(+), 12 deletions(-) diff --git a/tests/automatic/full_chain/simple_chain/check_linux.sh b/tests/automatic/full_chain/simple_chain/check_linux.sh index 0baea68ff..95a64c6f9 100755 --- a/tests/automatic/full_chain/simple_chain/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain/check_linux.sh @@ -46,7 +46,7 @@ nomad run receiver_tcp.nmd # Only use TCP because the consumer will only use met nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` diff --git a/tests/automatic/full_chain/simple_chain_dataset/check_linux.sh b/tests/automatic/full_chain/simple_chain_dataset/check_linux.sh index 93f9960a8..077e620d4 100644 --- a/tests/automatic/full_chain/simple_chain_dataset/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_dataset/check_linux.sh @@ -43,7 +43,7 @@ nomad run receiver_${network_type}.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` 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 0bd69ff98..58d3eef20 100644 --- a/tests/automatic/full_chain/simple_chain_filegen/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_filegen/check_linux.sh @@ -44,7 +44,7 @@ nomad run receiver_${network_type}.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` @@ -63,6 +63,8 @@ echo hello > /tmp/asapo/test_in/processed/test1/file1 echo hello > /tmp/asapo/test_in/processed/test1/file2 echo hello > /tmp/asapo/test_in/processed/test2/file1 +sleep 1 + echo "Start consumer in metadata only mode" $consumer_bin ${proxy_address} ${receiver_folder} ${beamtime_id} 2 $token 1000 1 | tee /dev/stderr out grep "Processed 3 file(s)" out 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 7876150ff..f8deeae83 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 @@ -47,7 +47,7 @@ nomad run receiver_tcp.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` diff --git a/tests/automatic/full_chain/simple_chain_filegen_multisource/check_linux.sh b/tests/automatic/full_chain/simple_chain_filegen_multisource/check_linux.sh index 9619e32b3..f66cacbab 100644 --- a/tests/automatic/full_chain/simple_chain_filegen_multisource/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_filegen_multisource/check_linux.sh @@ -45,7 +45,7 @@ nomad run receiver_tcp.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` diff --git a/tests/automatic/full_chain/simple_chain_filegen_readdata_cache/check_linux.sh b/tests/automatic/full_chain/simple_chain_filegen_readdata_cache/check_linux.sh index 0e12523a6..74a9e6c65 100644 --- a/tests/automatic/full_chain/simple_chain_filegen_readdata_cache/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_filegen_readdata_cache/check_linux.sh @@ -47,7 +47,7 @@ nomad run receiver_${network_type}.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$3 token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` diff --git a/tests/automatic/full_chain/simple_chain_filegen_readdata_file/check_linux.sh b/tests/automatic/full_chain/simple_chain_filegen_readdata_file/check_linux.sh index 748986058..8cfcc2487 100644 --- a/tests/automatic/full_chain/simple_chain_filegen_readdata_file/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_filegen_readdata_file/check_linux.sh @@ -47,7 +47,7 @@ nomad run receiver_${network_type}.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` diff --git a/tests/automatic/full_chain/simple_chain_metadata/check_linux.sh b/tests/automatic/full_chain/simple_chain_metadata/check_linux.sh index 70fc2dfe2..6735603d7 100644 --- a/tests/automatic/full_chain/simple_chain_metadata/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_metadata/check_linux.sh @@ -42,7 +42,7 @@ nomad run receiver_tcp.nmd # Only use TCP because the consumer will only use met nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` diff --git a/tests/automatic/full_chain/simple_chain_raw/check_linux.sh b/tests/automatic/full_chain/simple_chain_raw/check_linux.sh index 176da746d..5ec50d63e 100644 --- a/tests/automatic/full_chain/simple_chain_raw/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_raw/check_linux.sh @@ -37,7 +37,7 @@ nomad run receiver_tcp.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 1 +sleep 5 token=`$3 token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` diff --git a/tests/automatic/full_chain/simple_chain_usermeta_python/check_linux.sh b/tests/automatic/full_chain/simple_chain_usermeta_python/check_linux.sh index 129b8298c..edbb9a24d 100644 --- a/tests/automatic/full_chain/simple_chain_usermeta_python/check_linux.sh +++ b/tests/automatic/full_chain/simple_chain_usermeta_python/check_linux.sh @@ -41,7 +41,7 @@ nomad run receiver_tcp.nmd # Only use TCP because the consumer will only use met nomad run discovery.nmd nomad run broker.nmd -sleep 2 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` diff --git a/tests/automatic/full_chain/two_beamlines/check_linux.sh b/tests/automatic/full_chain/two_beamlines/check_linux.sh index f43ddad7b..70577f6c6 100644 --- a/tests/automatic/full_chain/two_beamlines/check_linux.sh +++ b/tests/automatic/full_chain/two_beamlines/check_linux.sh @@ -52,7 +52,7 @@ nomad run receiver_${network_type}.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 3 +sleep 5 token1=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id1` token2=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id2` diff --git a/tests/automatic/full_chain/two_streams/check_linux.sh b/tests/automatic/full_chain/two_streams/check_linux.sh index 835de3037..0e70b549b 100644 --- a/tests/automatic/full_chain/two_streams/check_linux.sh +++ b/tests/automatic/full_chain/two_streams/check_linux.sh @@ -46,7 +46,7 @@ nomad run receiver_tcp.nmd nomad run discovery.nmd nomad run broker.nmd -sleep 3 +sleep 5 token=`$asapo_tool_bin token -endpoint http://localhost:8400/asapo-authorizer -secret admin_token.key -types read $beamtime_id` -- GitLab