From 6b9741607e34d972865ecd6c4d24ca616bd28362 Mon Sep 17 00:00:00 2001 From: Mark Rotteveel Date: Fri, 12 Jan 2024 14:39:38 +0100 Subject: [PATCH] Enable service tesst with encrypted db as they work now expected_db SPB is implemented --- .../org/firebirdsql/jdbc/DatabaseEncryptionTest.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/test/org/firebirdsql/jdbc/DatabaseEncryptionTest.java b/src/test/org/firebirdsql/jdbc/DatabaseEncryptionTest.java index 08dae208d..5b4d5cdc0 100644 --- a/src/test/org/firebirdsql/jdbc/DatabaseEncryptionTest.java +++ b/src/test/org/firebirdsql/jdbc/DatabaseEncryptionTest.java @@ -30,7 +30,6 @@ import org.firebirdsql.management.FBStatisticsManager; import org.firebirdsql.management.MaintenanceManager; import org.firebirdsql.management.StatisticsManager; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; @@ -52,15 +51,11 @@ * Tests related to database encryption. *

* Tests in this class require the existence of an encrypted database with alias crypttest, and encryption key passed - * through callback (eg IBPhoenix AES128/256 with Callback configuration), and an encryption key value of + * through callback (e.g. IBPhoenix AES128/256 with Callback configuration), and an encryption key value of * {@code TestKey}. *

*

- * The ignored service tests require a global {@code KeyHolderPlugin} configuration instead of a database-specific - * configuration in {@code databases.conf}. - *

- *

- * The ignored encrypted security db tests require an encrypted database with alias cryptsec that also serves as its own + * The encrypted security db tests require an encrypted database with alias cryptsec that also serves as its own * security database, with a sysdba password of {@code alt-masterkey}. Like crypttest, its encryption key passed through * callback (eg IBPhoenix AES128/256 with Callback configuration), and an encryption key value of {@code TestKey}. *

@@ -199,7 +194,6 @@ void testFBXADataSource() throws Exception { } @Test - @Disabled("Requires global KeyHolderPlugin configuration") void testServiceManagerConnection_gstatException() { FBStatisticsManager statManager = configureServiceManager(new FBStatisticsManager(getGdsType())); statManager.setDatabase(CRYPTTEST_DB); @@ -215,7 +209,6 @@ void testServiceManagerConnection_gstatException() { } @Test - @Disabled("Requires global KeyHolderPlugin configuration") void testDatabaseValidation() throws Exception { FBMaintenanceManager maintenanceManager = configureServiceManager(new FBMaintenanceManager(getGdsType())); maintenanceManager.setDatabase(CRYPTTEST_DB);