[Gradle, MPP] Do not read tests state file when it's absent
#KT-55134 Fixed
This commit is contained in:
+1
@@ -76,6 +76,7 @@ internal abstract class TestReportService : BuildService<TestReportService.TestR
|
||||
|
||||
private fun readPreviouslyFailedTasks(): MutableSet<String> {
|
||||
val failedTasksSet: MutableSet<String> = ConcurrentHashMap.newKeySet()
|
||||
if (!binaryStateFile.exists()) return failedTasksSet
|
||||
try {
|
||||
ObjectInputStream(FileInputStream(binaryStateFile)).use {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
|
||||
Reference in New Issue
Block a user