Merge pull request #7862 from corda/merge-release/os/4.10-release/os/4.11-2024-10-30-392

ENT-12152: Merging forward updates from release/os/4.10 to release/os/4.11 - 2024-10-30
This commit is contained in:
Adel El-Beik 2024-10-31 09:38:58 +00:00 committed by GitHub
commit 24dbce529b
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")
@ -627,6 +628,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. */