From a80eb59b1b0c7404de16fdfe78677cecd5954b54 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Thu, 31 Jul 2025 15:00:28 +0800 Subject: [PATCH] test: use synchronous events for tests --- .../komga/application/events/AsynchronousSpringEventsConfig.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/komga/src/main/kotlin/org/gotson/komga/application/events/AsynchronousSpringEventsConfig.kt b/komga/src/main/kotlin/org/gotson/komga/application/events/AsynchronousSpringEventsConfig.kt index e9ee37f7a..43c3be0ca 100644 --- a/komga/src/main/kotlin/org/gotson/komga/application/events/AsynchronousSpringEventsConfig.kt +++ b/komga/src/main/kotlin/org/gotson/komga/application/events/AsynchronousSpringEventsConfig.kt @@ -2,10 +2,12 @@ package org.gotson.komga.application.events import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration +import org.springframework.context.annotation.Profile import org.springframework.context.event.ApplicationEventMulticaster import org.springframework.context.event.SimpleApplicationEventMulticaster import org.springframework.core.task.AsyncTaskExecutor +@Profile("!test") @Configuration class AsynchronousSpringEventsConfig( private val applicationTaskExecutor: AsyncTaskExecutor,