Skip to content

Commit d33c34b

Browse files
committed
Use cluster actor ref provider in tests
1 parent 21d4bc9 commit d33c34b

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

api/src/test/resources/application.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ akka {
44
testKit.filter-leeway = 10s
55
http.parsing.max-content-length = 1G
66
http.server.default-host-header = "cfpb.gov"
7+
actor {
8+
provider = cluster
9+
}
10+
remote {
11+
netty.tcp {
12+
port = 0
13+
}
14+
}
715
}
816

917
hmda {

persistence/src/test/resources/application.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ akka {
44
log-dead-letters = off
55
log-dead-letters-during-shutdown = off
66
actor.warn-about-java-serializer-usage = off
7+
8+
actor {
9+
provider = cluster
10+
}
11+
remote {
12+
netty.tcp {
13+
port = 0
14+
}
15+
}
716
}
817

918
akka.persistence.journal.plugin = "inmemory-journal"

query/src/test/resources/application.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ akka {
88
persistence.snapshot-store.plugin = "inmemory-snapshot-store"
99
actor {
1010
timeout = 5
11+
provider = cluster
12+
}
13+
remote {
14+
netty.tcp {
15+
port = 0
16+
}
1117
}
1218
}
1319

0 commit comments

Comments
 (0)