Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions docs/src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
5 changes: 5 additions & 0 deletions http-tests/src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down