Merge pull request #7858 from corda/merge-release/os/4.9-release/os/4.10-2024-10-28-389

ENT-12152: Merging forward updates from release/os/4.9 to release/os/4.10 - 2024-10-28
This commit is contained in:
Adel El-Beik 2024-10-29 09:35:04 +00:00 committed by GitHub
commit a905c5b245
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,6 +86,7 @@ import java.time.Clock
import java.util.concurrent.TimeUnit
import java.util.concurrent.atomic.AtomicInteger
import java.util.concurrent.atomic.AtomicReference
import org.hibernate.internal.SessionFactoryRegistry
val MOCK_VERSION_INFO = VersionInfo(PLATFORM_VERSION, "Mock release", "Mock revision", "Mock Vendor")
@ -624,6 +625,7 @@ open class InternalMockNetwork(cordappPackages: List<String> = emptyList(),
}
messagingNetwork.stop()
}
SessionFactoryRegistry.INSTANCE.clearRegistrations()
}
/** Block until all scheduled activity, active flows and network activity has ceased. */