You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.3 KiB
74 lines
2.3 KiB
From 6f8d21d803c5e5d2fab5cbff97b2d40793fa5701 Mon Sep 17 00:00:00 2001
|
|
From: Alessio <alciregi@fedoraproject.org>
|
|
Date: Thu, 2 Mar 2023 00:04:18 -0600
|
|
Subject: [PATCH 17/22] Increase sleep for tests
|
|
|
|
---
|
|
dcmnet/tests/tscusession.cc | 6 +++---
|
|
dcmtls/tests/tscuscptls.cc | 6 +++---
|
|
2 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/dcmnet/tests/tscusession.cc b/dcmnet/tests/tscusession.cc
|
|
index 7ae4ff53a..3508b6da8 100644
|
|
--- a/dcmnet/tests/tscusession.cc
|
|
+++ b/dcmnet/tests/tscusession.cc
|
|
@@ -280,7 +280,7 @@ void configure_scp_for_sop_class(DcmSCPConfig& cfg,
|
|
void scu_session(const OFString& called_ae_title, const OFString& sop_class)
|
|
{
|
|
// Make sure server is up
|
|
- force_sleep(1);
|
|
+ force_sleep(10);
|
|
// Basic configuration
|
|
SessionSCU scu;
|
|
scu.setAETitle("TEST_SCU");
|
|
@@ -334,13 +334,13 @@ OFTEST_FLAGS(dcmnet_scu_session_handler, EF_Slow)
|
|
|
|
// Send FIND, and wait to be sure SCP has time to exit
|
|
scu_session("FIND_SESSION", UID_FINDPatientRootQueryRetrieveInformationModel);
|
|
- force_sleep(1);
|
|
+ force_sleep(10);
|
|
scp.join();
|
|
|
|
// Send MOVE, and wait to be sure SCP has time to exit
|
|
scp.start();
|
|
scu_session("MOVE_SESSION", UID_MOVEPatientRootQueryRetrieveInformationModel);
|
|
- force_sleep(1);
|
|
+ force_sleep(10);
|
|
scp.join();
|
|
|
|
// TODO: Test C-GET
|
|
diff --git a/dcmtls/tests/tscuscptls.cc b/dcmtls/tests/tscuscptls.cc
|
|
index ef0cb2232..f054e8b18 100644
|
|
--- a/dcmtls/tests/tscuscptls.cc
|
|
+++ b/dcmtls/tests/tscuscptls.cc
|
|
@@ -318,7 +318,7 @@ OFTEST_FLAGS(dcmtls_scp_tls, EF_None)
|
|
scp.start();
|
|
|
|
// Ensure server is up and listening
|
|
- force_sleep(1);
|
|
+ force_sleep(10);
|
|
|
|
// Configure SCU and run it against SCP
|
|
DcmTLSSCU scu;
|
|
@@ -386,7 +386,7 @@ OFTEST_FLAGS(dcmtls_scp_pool_tls, EF_None)
|
|
pool.start();
|
|
|
|
// Ensure server is up and listening
|
|
- force_sleep(1);
|
|
+ force_sleep(10);
|
|
|
|
OFVector<TestTLSSCU*> scus(20);
|
|
OFVector<DcmTLSTransportLayer*> scuTlsLayers;
|
|
@@ -412,7 +412,7 @@ OFTEST_FLAGS(dcmtls_scp_pool_tls, EF_None)
|
|
|
|
// "ensure" the pool is initialized before any SCU starts connecting to it. The initialization
|
|
// can take a couple of seconds on older systems, e.g. debian i368.
|
|
- force_sleep(5);
|
|
+ force_sleep(15);
|
|
|
|
for (OFVector<TestTLSSCU*>::const_iterator it2 = scus.begin(); it2 != scus.end(); ++it2)
|
|
{
|
|
--
|
|
2.39.2
|
|
|