This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-management.git
The following commit(s) were added to refs/heads/main by this push:
new dd3bccb8 fix test todo (tidy up) (#914)
dd3bccb8 is described below
commit dd3bccb8fa0556d827a20de1627da34d2ebdd9c0
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Jul 31 12:42:16 2026 +0100
fix test todo (tidy up) (#914)
---
.../test/scala/org/apache/pekko/management/LocalBootstrapTest.scala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/integration-test/local/src/test/scala/org/apache/pekko/management/LocalBootstrapTest.scala
b/integration-test/local/src/test/scala/org/apache/pekko/management/LocalBootstrapTest.scala
index 069d01d7..998db85b 100644
---
a/integration-test/local/src/test/scala/org/apache/pekko/management/LocalBootstrapTest.scala
+++
b/integration-test/local/src/test/scala/org/apache/pekko/management/LocalBootstrapTest.scala
@@ -88,8 +88,10 @@ class LocalBootstrapTest extends AnyWordSpec with
ScalaFutures with Matchers wit
""".stripMargin).withFallback(config))
override def afterAll(): Unit = {
- // TODO: shutdown Pekko HTTP connection pools. Requires Pekko HTTP 10.2
systems.reverse.foreach { sys =>
+ // Shutdown connection pools if the Http extension was used during the
test.
+ // Http() creates the extension if absent — acceptable in test cleanup.
+ Http()(sys).shutdownAllConnectionPools()
TestKit.shutdownActorSystem(sys, 3.seconds)
}
super.afterAll()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]