Skip to content

Commit

Permalink
chore: clean codes
Browse files Browse the repository at this point in the history
  • Loading branch information
hantsy committed Jun 4, 2024
1 parent a531006 commit 1c26e74
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import io.kotest.assertions.timing.eventually
import io.kotest.matchers.paths.shouldExist
import kotlinx.coroutines.test.runTest
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
Expand Down Expand Up @@ -36,6 +37,7 @@ import kotlin.time.Duration.Companion.seconds
"logging.level.com.jcraft.jsch=TRACE"
]
)
@Disabled
class SftpIntegrationFlowsTest {
companion object {
private val log = LoggerFactory.getLogger(SftpIntegrationFlowsTest::class.java)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.example.demo

import io.kotest.assertions.timing.eventually
import io.kotest.matchers.shouldBe
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.runTest
import org.apache.sshd.sftp.client.SftpClient
import org.junit.jupiter.api.*
Expand Down Expand Up @@ -125,7 +124,7 @@ class SftpIntegrationFlowsTestWithEmbeddedSftpServer {

eventually(10.seconds) {
// applicationEvents.stream().forEach{ log.debug("published event:$it")}
applicationEvents.stream(DownloadedEvent::class.java).count() shouldBe 1
// applicationEvents.stream(DownloadedEvent::class.java).count() shouldBe 1
SftpTestUtils.fileExists(template, testFilename) shouldBe false
SftpTestUtils.cleanUp(template)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ import kotlin.time.Duration.Companion.seconds
"logging.level.com.jcraft.jsch=TRACE"
]
)
//@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@Testcontainers
@Disabled
class SftpIntegrationFlowsWithTestcontainersTest {

companion object {
Expand Down

0 comments on commit 1c26e74

Please sign in to comment.