|
PACS System 0.1.0
PACS DICOM system library
|
Scenario 4: Multi-Association Stress Tests. More...
#include "test_fixtures.h"#include <catch2/catch_test_macros.hpp>#include "kcenon/pacs/network/dimse/dimse_message.h"#include "kcenon/pacs/services/storage_scp.h"#include "kcenon/pacs/services/storage_scu.h"#include "kcenon/pacs/services/verification_scp.h"#include "kcenon/pacs/storage/file_storage.h"#include "kcenon/pacs/storage/index_database.h"#include <atomic>#include <future>#include <latch>#include <mutex>#include <random>#include <thread>#include <vector>#include <set>
Go to the source code of this file.
Functions | |
| TEST_CASE ("Concurrent storage from multiple SCUs", "[stress][concurrent]") | |
| TEST_CASE ("Rapid sequential connections", "[stress][sequential]") | |
| TEST_CASE ("Large dataset storage", "[stress][large]") | |
| TEST_CASE ("Connection pool exhaustion recovery", "[stress][exhaustion]") | |
| TEST_CASE ("Mixed operations stress test", "[stress][mixed]") | |
Scenario 4: Multi-Association Stress Tests.
Tests system behavior under load:
Definition in file test_stress.cpp.
| TEST_CASE | ( | "Concurrent storage from multiple SCUs" | , |
| "" | [stress][concurrent] ) |
Definition at line 338 of file test_stress.cpp.
References kcenon::pacs::integration_test::find_available_port().

| TEST_CASE | ( | "Connection pool exhaustion recovery" | , |
| "" | [stress][exhaustion] ) |
Definition at line 515 of file test_stress.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::default_timeout(), kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::network::association_config::implementation_class_uid, kcenon::pacs::network::association_config::proposed_contexts, and kcenon::pacs::services::verification_sop_class_uid.

| TEST_CASE | ( | "Large dataset storage" | , |
| "" | [stress][large] ) |
Definition at line 435 of file test_stress.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::default_timeout(), kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::integration_test::generate_uid(), kcenon::pacs::network::association_config::implementation_class_uid, kcenon::pacs::core::dicom_dataset::insert(), kcenon::pacs::network::association_config::proposed_contexts, kcenon::pacs::services::storage_scu_config::response_timeout, kcenon::pacs::core::dicom_dataset::set_numeric(), and kcenon::pacs::core::dicom_dataset::set_string().

| TEST_CASE | ( | "Mixed operations stress test" | , |
| "" | [stress][mixed] ) |
Definition at line 599 of file test_stress.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::default_timeout(), kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::integration_test::generate_ct_dataset(), kcenon::pacs::network::association_config::implementation_class_uid, kcenon::pacs::network::dimse::make_c_echo_rq(), kcenon::pacs::network::association_config::proposed_contexts, kcenon::pacs::services::storage_scu::store(), and kcenon::pacs::services::verification_sop_class_uid.

| TEST_CASE | ( | "Rapid sequential connections" | , |
| "" | [stress][sequential] ) |
Definition at line 399 of file test_stress.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::default_timeout(), kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::network::association_config::implementation_class_uid, kcenon::pacs::network::association_config::proposed_contexts, and kcenon::pacs::services::verification_sop_class_uid.
