chore(damn): detekt, build, tests, formatting
fixed detekt issues where possible. fixed disttar failing build because tools is added twice in the server module. added workflowId where required. fixed some tests not being recognized because of runBlocking without explicit return type. formatting + imports.
This commit is contained in:
+1
-1
@@ -8,8 +8,8 @@ import com.correx.infrastructure.artifactscas.compact.CompactionReport
|
||||
import com.correx.infrastructure.artifactscas.compact.Compactor
|
||||
import com.correx.infrastructure.artifactscas.compact.LivenessScanner
|
||||
import com.correx.infrastructure.artifactscas.config.CasConfig
|
||||
import com.correx.infrastructure.artifactscas.evict.Evictor
|
||||
import com.correx.infrastructure.artifactscas.evict.EvictionReport
|
||||
import com.correx.infrastructure.artifactscas.evict.Evictor
|
||||
import com.correx.infrastructure.artifactscas.index.ArtifactIndex
|
||||
import com.correx.infrastructure.artifactscas.recovery.TailScanReport
|
||||
import com.correx.infrastructure.artifactscas.recovery.TailScanner
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package com.correx.infrastructure.artifactscas.segment
|
||||
import org.bouncycastle.crypto.digests.Blake3Digest
|
||||
import java.nio.ByteBuffer
|
||||
import java.nio.ByteOrder
|
||||
import java.util.zip.CRC32C
|
||||
import java.util.zip.*
|
||||
|
||||
object SegmentLayout {
|
||||
const val HASH_SIZE: Int = 32
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test
|
||||
import org.junit.jupiter.api.io.TempDir
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Path
|
||||
import java.util.UUID
|
||||
import java.util.*
|
||||
import kotlin.io.path.listDirectoryEntries
|
||||
|
||||
class CompactorTest {
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test
|
||||
import org.junit.jupiter.api.io.TempDir
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Path
|
||||
import java.util.UUID
|
||||
import java.util.*
|
||||
import kotlin.io.path.listDirectoryEntries
|
||||
|
||||
class EvictorTest {
|
||||
|
||||
Reference in New Issue
Block a user