This is an automated email from the ASF dual-hosted git repository.
He-Pin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 99fe5f78a6 fix(remote): configure TLS resources for bind canonical
tests (#3210)
99fe5f78a6 is described below
commit 99fe5f78a68c5e78be5621ff2567db8e904dd16d
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Sun Jun 28 03:57:42 2026 +0800
fix(remote): configure TLS resources for bind canonical tests (#3210)
Motivation:
PR validation failed in BindCanonicalAddressSpec when tls-tcp used the
reference.conf default keystore path.
Modification:
Reuse the existing ArterySpecSupport TLS test configuration for the bind
canonical address spec so tls-tcp tests resolve the test keystore and
truststore resources.
Result:
The TLS bind canonical address cases no longer fail with
NoSuchFileException: keystore.
Tests:
- rtk bash -lc 'export
JAVA_HOME=/Users/hepin/Library/Java/JavaVirtualMachines/azul-17.0.17/Contents/Home;
export
PATH="/Users/hepin/.sdkman/candidates/java/current/bin:/Users/hepin/.nvm/versions/node/v22.23.0/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/codex-path:/Users/hepin/.nvm/versions/node/v22.23.0/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/codex-path:/Users/hepin/.code
[...]
- rtk scalafmt --mode diff-ref=origin/main --non-interactive / passed
- rtk scalafmt --list --mode diff-ref=origin/main --non-interactive / passed
- rtk bash -lc 'git diff --check' / passed
References:
Refs #3205
---
.../scala/org/apache/pekko/remote/artery/BindCanonicalAddressSpec.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/remote/src/test/scala/org/apache/pekko/remote/artery/BindCanonicalAddressSpec.scala
b/remote/src/test/scala/org/apache/pekko/remote/artery/BindCanonicalAddressSpec.scala
index c4b4f746d0..fcb824ff5a 100644
---
a/remote/src/test/scala/org/apache/pekko/remote/artery/BindCanonicalAddressSpec.scala
+++
b/remote/src/test/scala/org/apache/pekko/remote/artery/BindCanonicalAddressSpec.scala
@@ -131,5 +131,5 @@ object BindCanonicalAddressSpec {
remote.artery.enabled = true
remote.artery.transport = "$transport"
}
- """)
+ """).withFallback(ArterySpecSupport.tlsConfig)
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]