Skip to content

Commit

Permalink
Solve some flakiness in parallel test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Chapuis authored and jchapuis committed Jul 14, 2023
1 parent 1712750 commit a70143b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ object ScalaPbSerializerSuite {
"""
|akka {
| actor {
| provider = local
|
| serializers {
| scalapb = "endless.runtime.akka.protobuf.ScalaPbSerializer"
| }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import scalapb.GeneratedMessageCompanion
import java.util.concurrent.atomic.AtomicReference

/*
Akka serializer making use of scalapb-generated classes for protobuf serialization
Pekko serializer making use of scalapb-generated classes for protobuf serialization
Inspired by https://gist.github.com/thesamet/5d0349b40d3dc92859a1a2eafba448d5
*/
@SuppressWarnings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ScalaPbSerializerSuite extends munit.FunSuite {
)

pekkoSerialization.test(
"be found by akka serialization extension when asked for it for test type"
"be found by pekko serialization extension when asked for it for test type"
) { serialization =>
val clasz = serialization.serializerFor(classOf[DummyCommand]).getClass
assert(clasz == classOf[ScalaPbSerializer])
Expand All @@ -41,6 +41,7 @@ object ScalaPbSerializerSuite {
val serializationConfig: String =
"""
|pekko {
| provider = local
| actor {
| serializers {
| scalapb = "endless.runtime.pekko.protobuf.ScalaPbSerializer"
Expand Down

0 comments on commit a70143b

Please sign in to comment.