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-http.git
The following commit(s) were added to refs/heads/main by this push:
new 915446ed9 try to test TLS engine config (#1030)
915446ed9 is described below
commit 915446ed9f179f813068de81b068e4ed26afe5cd
Author: PJ Fanning <[email protected]>
AuthorDate: Fri May 8 15:05:25 2026 +0100
try to test TLS engine config (#1030)
* Add TLS_ENGINE_CONFIG system property support to test application.conf
files
Agent-Logs-Url:
https://github.com/pjfanning/incubator-pekko-http/sessions/5c075b17-49d9-4a40-bfce-d4410b5420ed
Co-authored-by: pjfanning <[email protected]>
* adjust workflow
---------
Co-authored-by: copilot-swe-agent[bot]
<[email protected]>
Co-authored-by: pjfanning <[email protected]>
---
.github/workflows/nightly.yml | 9 +++++++--
docs/src/test/resources/application.conf | 5 +++++
http-tests/src/test/resources/application.conf | 5 +++++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 5cdbf075b..321b5d522 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -24,6 +24,7 @@ jobs:
SCALA_VERSION: [2.13, 3]
JDK: [17, 21, 25]
PEKKO_VERSION: ['main']
+ TLS_ENGINE_CONFIG: ['legacy-actor', 'graph-stage']
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #
v6.0.2
@@ -55,8 +56,12 @@ jobs:
- name: Compile everything
run: sbt -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }} "++
${{ matrix.SCALA_VERSION }}" Test/compile
- - name: Run all tests JDK ${{ matrix.JDK }}, Scala ${{
matrix.SCALA_VERSION }}, Pekko ${{ matrix.PEKKO_VERSION }}
- run: sbt -Dpekko.http.parallelExecution=false
-Dpekko.test.timefactor=2 -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION
}} "++ ${{ matrix.SCALA_VERSION }}" mimaReportBinaryIssues test
+ - name: Run all tests JDK ${{ matrix.JDK }}, Scala ${{
matrix.SCALA_VERSION }}, Pekko ${{ matrix.PEKKO_VERSION }}, TLS Engine ${{
matrix.TLS_ENGINE_CONFIG }}
+ run: |
+ sbt -Dpekko.http.parallelExecution=false -Dpekko.test.timefactor=2
+ -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }}
+ -DTLS_ENGINE_CONFIG=${{ matrix.TLS_ENGINE_CONFIG }}
+ "++ ${{ matrix.SCALA_VERSION }}" mimaReportBinaryIssues test
- name: Upload test results
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
# v7.0.1
diff --git a/docs/src/test/resources/application.conf
b/docs/src/test/resources/application.conf
index 129c36566..25565a78d 100644
--- a/docs/src/test/resources/application.conf
+++ b/docs/src/test/resources/application.conf
@@ -3,4 +3,9 @@
pekko {
# needed because we add pekko-actor-typed here but don't include an slf4j
implementation
use-slf4j = off
+ # TLS engine to use for tests, default is "legacy-actor" but can be
overridden by setting
+ # the system property or environment variable TLS_ENGINE_CONFIG to
"graph-stage"
+ # see https://github.com/apache/pekko/pull/2878
+ stream.materializer.tls.engine = "legacy-actor"
+ stream.materializer.tls.engine = ${?TLS_ENGINE_CONFIG}
}
diff --git a/http-tests/src/test/resources/application.conf
b/http-tests/src/test/resources/application.conf
index e8b0eb68a..6138c0c64 100644
--- a/http-tests/src/test/resources/application.conf
+++ b/http-tests/src/test/resources/application.conf
@@ -8,6 +8,11 @@ pekko {
default-dispatcher.throughput = 1
}
stream.materializer.debug.fuzzing-mode = on
+ # TLS engine to use for tests, default is "legacy-actor" but can be
overridden by setting
+ # the system property or environment variable TLS_ENGINE_CONFIG to
"graph-stage"
+ # see https://github.com/apache/pekko/pull/2878
+ stream.materializer.tls.engine = "legacy-actor"
+ stream.materializer.tls.engine = ${?TLS_ENGINE_CONFIG}
# silence some annoying warnings
stream.secret-test-fuzzing-warning-disable = 42
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]