All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kko.pekko-testkit_2.13.1.1.3.source-code.reference.conf Maven / Gradle / Ivy

Go to download

Apache Pekko is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.

The newest version!
# SPDX-License-Identifier: Apache-2.0

#######################################
# Pekko Testkit Reference Config File #
#######################################

# This is the reference config file that contains all the default settings.
# Make your edits/overrides in your application.conf.

pekko {
  test {
    # factor by which to scale timeouts during tests, e.g. to account for shared
    # build system load
    timefactor =  1.0

    # duration of EventFilter.intercept waits after the block is finished until
    # all required messages are received
    filter-leeway = 3s

    # duration to wait in expectMsg and friends outside of within() block
    # by default, will be dilated by the timefactor.
    single-expect-default = 3s

    # duration to wait in expectNoMessage by default,
    # will be dilated by the timefactor.
    expect-no-message-default = 100ms

    # The timeout that is added as an implicit by DefaultTimeout trait
    default-timeout = 5s

    calling-thread-dispatcher {
      type = org.apache.pekko.testkit.CallingThreadDispatcherConfigurator
    }
  }

  actor {

    serializers {
      java-test = "org.apache.pekko.testkit.TestJavaSerializer"
    }

    serialization-identifiers {
      "org.apache.pekko.testkit.TestJavaSerializer" = 23
    }

    serialization-bindings {
      "org.apache.pekko.testkit.JavaSerializable" = java-test
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy