The GitHub Actions job "Headers" on pekko-connectors.git/java-api-cassandra has 
succeeded.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
18976fc1269044380f88a6d7bb5601ccb98ff3dc / PJ Fanning 
<[email protected]>
Cassandra: Test AbstractCqlSessionProvider with a non-Executor ExecutionContext

Motivation:
The adapter used when the ExecutionContext is not also an Executor was not
covered, because the existing test uses ExecutionContext.global().

Modification:
Add a test with a custom ExecutionContext that does not implement Executor,
and use assertNull instead of assertSame(null, ...).

Result:
Both branches of the ExecutionContext to Executor conversion are tested.

Tests:
- sbt "cassandra/Test/testOnly 
org.apache.pekko.stream.connectors.cassandra.javadsl.CassandraJavaApiTest" - 
passed; the new test fails if the adapter bypasses the ExecutionContext
- sbt cassandra/javafmtAll (JDK 17) - run

References:
Refs #2043

Report URL: https://github.com/apache/pekko-connectors/actions/runs/42001448257

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to