FIX - try-catch test suite migrations (#16160)

* FIX - try-catch test suite migrations

* format

---------

Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
This commit is contained in:
Pere Miquel Brull 2024-05-08 01:08:31 +02:00 committed by GitHub
parent 96417452a9
commit 5181c79bbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -495,6 +495,7 @@ public class MigrationUtil {
*/
@SneakyThrows
public static void testSuitesMigration(CollectionDAO collectionDAO) {
try {
// Update existing test suites as logical test suites and delete any ingestion pipeline
// associated with the existing test suite
migrateExistingTestSuitesToLogical(collectionDAO);
@ -551,6 +552,9 @@ public class MigrationUtil {
}
}
}
} catch (Exception ex) {
LOG.error("Failed to migrate test suites", ex);
}
}
private static void migrateExistingTestSuitesToLogical(CollectionDAO collectionDAO) {