You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "pjfanning (via GitHub)" <gi...@apache.org> on 2025/12/01 16:37:53 UTC
[PR] switch to junit5 to try to fix tests [pekko-connectors]
pjfanning opened a new pull request, #1311:
URL: https://github.com/apache/pekko-connectors/pull/1311
Tests are failing with
```
[error] Test org.apache.pekko.stream.connectors.awsspi.s3.S3Test.initializationError failed: org.junit.runners.model.InvalidTestClassError: Invalid test class 'org.apache.pekko.stream.connectors.awsspi.s3.S3Test':
[error] 1. The @Rule 's3mock' must implement MethodRule or TestRule., took 0.001 sec
[error] at com.novocode.junit.JUnitTask.execute(JUnitTask.java:52)
[error] at sbt.TestRunner.runTest$1(TestFramework.scala:153)
```
I'm not sure what is causing this but some recent dependency upgrade is likely the cause.
The code is old and uses junit 4. I'm trying to modernise to junit5.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] switch to junit5 to try to fix tests [pekko-connectors]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning merged PR #1311:
URL: https://github.com/apache/pekko-connectors/pull/1311
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org