-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix test ActorCreationTest.testWrongAnonymousInPlaceCreator #30236
Conversation
…on-static check for Creator (#30220)
Thank you for your pull request! After a quick sanity check one of the team will reply with 'OK ΤO ΤESΤ' to kick off our automated validation on Jenkins. This compiles the project, runs the tests, and checks for things like binary compatibility and source code formatting. When two team members have also manually reviewed and (perhaps after asking for some amendments) accepted your contribution, it should be good to be merged. For more details about our contributing process, check out CONTRIBUTING.md - and feel free to ask! |
OK TO TEST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Test FAILed. |
This failed with... sbt.ForkMain$ForkError: java.lang.NullPointerException: null
at akka.actor.AbstractProps.create(AbstractProps.scala:78)
at akka.actor.AbstractProps.create$(AbstractProps.scala:77)
at akka.actor.Props$.create(Props.scala:22)
at akka.actor.PropsCreationSpec.$anonfun$new$9(PropsCreationSpec.scala:68)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20) and it seems that the passed Strange! |
I found it. The failure comes from another spec.
This is passing a |
Use
|
Test FAILed. |
Infrastructure error |
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
References #30220
Looks like the method
checkCreatorClosingOver
was used in deprecatedProps.create(Creator)
, but was forgotten in newProps.create(ActorClass,Creator)
.Kind regards