What are the consequences of enabling this? What i...
# gradle
c
What are the consequences of enabling this? What is 'inconsistent behavior'?
Copy code
org.gradle.api.GradleException: Cannot process output: too long teamcity service message (more than 1Mb). Event was lost.
Build failed to prevent inconsistent behaviour. To ignore it use Gradle property 'kotlin.ignore.tcsm.overflow=true'
	at org.jetbrains.kotlin.gradle.internal.testing.TCServiceMessageOutputStreamHandler.overflow(TCServiceMessageOutputStreamHandler.kt:98)
	at org.jetbrains.kotlin.gradle.internal.testing.TCServiceMessageOutputStreamHandler.write(TCServiceMessageOutputStreamHandler.kt:64)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.writeBuffer(ExecOutputHandleRunner.java:97)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.forwardContent(ExecOutputHandleRunner.java:85)
	at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:64)
	at CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
	at 1.run(AbstractManagedExecutor.java:47)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
	at Worker.run(ThreadPoolExecutor.java:614)
	at java.base/java.lang.Thread.run(Thread.java:1516)
a
What is 'inconsistent behavior'?
Test events might not be reported correctly to Gradle and/or IntelliJ. The messages contain metadata about test events (start/stop times, outcomes, etc). If the log messages are too long then this metedata might be lost - so a test might report itself as started, but the pass/fail outcome could be lost. I expect this will be fixed as part of https://youtrack.jetbrains.com/issue/KT-66897/Deprecate-KotlinKarma