JAVA-9448: Rename Cassandra tests to *LiveTest (#11696)

This commit is contained in:
kwoyke 2022-01-14 16:02:26 +01:00 committed by GitHub
parent 7885aa927f
commit e29186f270
2 changed files with 5 additions and 10 deletions

View File

@ -19,10 +19,11 @@ import java.util.UUID;
import static org.assertj.core.api.Assertions.assertThat;
// This live test needs a running Docker instance so that a Cassandra container can be created
@Testcontainers
@SpringBootTest
class CassandraNestedIntegrationTest {
class CassandraNestedLiveTest {
private static final String KEYSPACE_NAME = "test";

View File

@ -2,26 +2,20 @@ package org.baeldung.springcassandra;
import com.datastax.driver.core.Cluster;
import com.datastax.driver.core.Session;
import com.datastax.driver.core.utils.UUIDs;
import org.baeldung.springcassandra.model.Car;
import org.baeldung.springcassandra.repository.CarRepository;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.testcontainers.containers.CassandraContainer;
import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;
import java.util.List;
import java.util.UUID;
import static org.assertj.core.api.Assertions.assertThat;
// This live test needs a running Docker instance so that a Cassandra container can be created
@Testcontainers
@SpringBootTest
class CassandraSimpleIntegrationTest {
class CassandraSimpleLiveTest {
private static final String KEYSPACE_NAME = "test";