# HG changeset patch # User Alain Mazy <am@orthanc.team> # Date 1734522081 -3600 # Node ID f00417b34bbbb1aa6235bdd2d720722e349612e0 # Parent 28fd73902e6074fb46404a74ab2cb068c70a3ef4 fix pg unit tests (3) diff -r 28fd73902e60 -r f00417b34bbb Framework/Plugins/IndexUnitTests.h --- a/Framework/Plugins/IndexUnitTests.h Wed Dec 18 12:29:54 2024 +0100 +++ b/Framework/Plugins/IndexUnitTests.h Wed Dec 18 12:41:21 2024 +0100 @@ -700,6 +700,8 @@ } } +#if ORTHANC_ENABLE_POSTGRESQL == 0 // In PostgreSQL, remaining ancestor are implemented in the PostgreSQLIndex, not in the IndexBackend. Note: they are tested in the integration tests + for (size_t level = 1; level < 4; level++) { for (size_t attachmentLevel = 0; attachmentLevel < 4; attachmentLevel++) @@ -799,6 +801,7 @@ } } } +#endif manager->Close(); }