Skip to content

Commit b827439

Browse files
committed
Log db pool size
1 parent 17224a1 commit b827439

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/AppTests/Helpers/DatabasePool.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ actor DatabasePool {
4040
var availableDatabases: Set<Database> = .init()
4141

4242
func setUp() async throws {
43+
print("ℹ️ DatabasePool size:", Environment.databasePoolSize)
44+
4345
// Call DotEnvFile.load once to ensure env variables are set
4446
await DotEnvFile.load(for: .testing, fileio: .init(threadPool: .singleton))
4547

@@ -79,6 +81,8 @@ actor DatabasePool {
7981
}
8082

8183
func tearDown() async throws {
84+
print("ℹ️ DatabasePool size:", Environment.databasePoolSize)
85+
8286
if isRunningInCI() {
8387
// Let CI's tear down deal with the databases, there's nothing we can or should do here.
8488
} else {

0 commit comments

Comments
 (0)