Skip to content

Commit

Permalink
Disable tests for showcase and manual console tests in order to allow…
Browse files Browse the repository at this point in the history
… for scripted testing
  • Loading branch information
thomas-muller666 committed Apr 18, 2024
1 parent aef0f9f commit 4ca810c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import no.acntech.easycontainers.model.ExecutionMode
import org.apache.commons.lang3.time.DurationFormatUtils
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtensionContext
import org.junit.jupiter.params.ParameterizedTest
Expand All @@ -27,13 +28,15 @@ class ContainerLifeCycleTests {


@Test
@Disabled
fun startAndRunServiceTestContainers() {
// val dockerContainer = startContainer(ContainerPlatformType.DOCKER, ExecutionMode.SERVICE)
val k8sContainer = startContainer(ContainerPlatformType.KUBERNETES, ExecutionMode.SERVICE)
TimeUnit.SECONDS.sleep(10 * 60)
}

@Test
@Disabled
fun startAndRunTaskTestContainers() {
try {
val k8sContainer = startContainer(ContainerPlatformType.KUBERNETES, ExecutionMode.TASK)
Expand Down
3 changes: 3 additions & 0 deletions src/test/kotlin/test/acntech/easycontainers/ShowCaseTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package test.acntech.easycontainers
import no.acntech.easycontainers.Environment.defaultRegistryEndpoint
import no.acntech.easycontainers.GenericContainer
import no.acntech.easycontainers.model.*
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.slf4j.LoggerFactory
import java.util.concurrent.TimeUnit
Expand All @@ -14,6 +15,7 @@ class ShowCaseTests {
}

@Test
@Disabled
fun `Showcase Docker`() {
val imageName = "container-test"

Expand Down Expand Up @@ -49,6 +51,7 @@ class ShowCaseTests {
}

@Test
@Disabled
fun `Showcase Kubernetes`() {
val imageName = "container-test"

Expand Down

0 comments on commit 4ca810c

Please sign in to comment.