Skip to content

Commit f24c250

Browse files
committed
test: disabled test tats failing due to bug in mockk #4311
1 parent 4174c00 commit f24c250

File tree

1 file changed

+5
-0
lines changed
  • analysis/ccsh/src/test/kotlin/de/maibornwolff/codecharta/ccsh

1 file changed

+5
-0
lines changed

analysis/ccsh/src/test/kotlin/de/maibornwolff/codecharta/ccsh/CcshTest.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import io.mockk.verify
1414
import org.assertj.core.api.Assertions.assertThat
1515
import org.junit.jupiter.api.AfterEach
1616
import org.junit.jupiter.api.BeforeEach
17+
import org.junit.jupiter.api.Disabled
1718
import org.junit.jupiter.api.Test
1819
import org.junit.jupiter.api.TestInstance
1920
import org.junit.jupiter.api.Timeout
@@ -270,6 +271,10 @@ class CcshTest {
270271
verify { AnalyserService.executeSelectedAnalyser(any(), any()) }
271272
}
272273

274+
@Disabled(
275+
"Disabled as mockk has a bug that throws a stackoverflow when mocking System::class in Java 17, " +
276+
"see https://github.com/mockk/mockk/issues/1190"
277+
)
273278
@Test
274279
fun `should execute the selected interactive analyser when only called with name and no args`() {
275280
// given

0 commit comments

Comments
 (0)