|
PACS System 0.1.0
PACS DICOM system library
|
Long-Running Stability Tests - 24-Hour Continuous Operation. More...
#include "test_fixtures.h"#include "test_data_generator.h"#include <catch2/catch_test_macros.hpp>#include "kcenon/pacs/network/dimse/dimse_message.h"#include "kcenon/pacs/services/query_scp.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 <chrono>#include <cstdlib>#include <filesystem>#include <fstream>#include <future>#include <iomanip>#include <iostream>#include <mutex>#include <random>#include <set>#include <sstream>#include <thread>#include <vector>
Go to the source code of this file.
Functions | |
| TEST_CASE ("Continuous store/query operation", "[stability][.slow]") | |
| TEST_CASE ("Memory stability over iterations", "[stability][memory]") | |
| TEST_CASE ("Connection pool exhaustion recovery", "[stability][network]") | |
| TEST_CASE ("Database integrity under concurrent load", "[stability][database]") | |
| TEST_CASE ("Short stability smoke test", "[stability][smoke]") | |
Long-Running Stability Tests - 24-Hour Continuous Operation.
Tests system reliability under extended operation:
These tests are tagged with [.slow] and excluded from normal CI runs. Use environment variables to configure test duration:
Definition in file test_stability.cpp.
| TEST_CASE | ( | "Connection pool exhaustion recovery" | , |
| "" | [stability][network] ) |
Definition at line 529 of file test_stability.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::find_available_port(), kcenon::pacs::network::association_config::implementation_class_uid, and kcenon::pacs::network::association_config::proposed_contexts.

| TEST_CASE | ( | "Continuous store/query operation" | , |
| "" | [stability][.slow] ) |
Definition at line 366 of file test_stability.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, 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::storage_scu::store().

| TEST_CASE | ( | "Database integrity under concurrent load" | , |
| "" | [stability][database] ) |
Definition at line 585 of file test_stability.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::services::completed, 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::storage_scu::store().

| TEST_CASE | ( | "Memory stability over iterations" | , |
| "" | [stability][memory] ) |
Definition at line 478 of file test_stability.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, 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::storage_scu::store().

| TEST_CASE | ( | "Short stability smoke test" | , |
| "" | [stability][smoke] ) |
Definition at line 663 of file test_stability.cpp.
References kcenon::pacs::network::association_config::called_ae_title, kcenon::pacs::network::association_config::calling_ae_title, kcenon::pacs::integration_test::test_data_generator::ct(), 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::storage_scu::store().
