Skip to content

Commit

Permalink
chore: test why verify on native windows does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra committed Jun 30, 2024
1 parent deb2cb7 commit c2a3ed6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ logging:
level:
root: info
com.ibasco.agql: warn
org.dizitart.no2: debug
pattern:
console: "%clr(%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}){faint} %clr(%5p) %clr(${PID:-}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %mdc%n%wEx"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package de.darkatra.vrising.discord.persistence

import ch.qos.logback.classic.Logger
import de.darkatra.vrising.discord.DatabaseConfigurationTestUtils
import de.darkatra.vrising.discord.persistence.model.ServerTestUtils
import org.assertj.core.api.Assertions.assertThat
Expand All @@ -8,6 +9,7 @@ import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import org.junit.jupiter.api.condition.DisabledInNativeImage
import org.slf4j.LoggerFactory

@DisabledInNativeImage
class ServerRepositoryTest {
Expand Down Expand Up @@ -86,6 +88,9 @@ class ServerRepositoryTest {
@Test
fun `should not update server status monitor with higher version`() {

val logger = LoggerFactory.getLogger("nitrite") as Logger
logger.level = ch.qos.logback.classic.Level.DEBUG

val server = ServerTestUtils.getServer()
serverRepository.addServer(server)

Expand Down

0 comments on commit c2a3ed6

Please sign in to comment.