Skip to content

Commit

Permalink
Merge pull request #135 from AbsaOSS/feature/133-replace-spark-test-base
Browse files Browse the repository at this point in the history
#133 Replace SparkTestBase with the one from absa commons
  • Loading branch information
kevinwallimann authored Jun 10, 2020
2 parents a4e8c1b + d38e5bd commit d226f2f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import za.co.absa.hyperdrive.ingestor.api.reader.StreamReader
import za.co.absa.hyperdrive.ingestor.api.transformer.StreamTransformer
import za.co.absa.hyperdrive.ingestor.api.writer.StreamWriter
import za.co.absa.hyperdrive.shared.exceptions.{IngestionException, IngestionStartException}
import za.co.absa.hyperdrive.testutils.SparkTestBase
import za.co.absa.commons.spark.SparkTestBase

class TestSparkIngestor extends FlatSpec with BeforeAndAfterEach with MockitoSugar with SparkTestBase with Matchers {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import org.apache.kafka.clients.producer.{KafkaProducer, ProducerConfig, Produce
import org.scalatest.{BeforeAndAfter, FlatSpec, Matchers}
import za.co.absa.abris.avro.read.confluent.SchemaManager
import za.co.absa.commons.io.TempDirectory
import za.co.absa.hyperdrive.testutils.SparkTestBase
import za.co.absa.commons.spark.SparkTestBase


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import org.apache.kafka.clients.producer.{KafkaProducer, ProducerConfig, Produce
import org.scalatest.{BeforeAndAfter, FlatSpec, Matchers}
import za.co.absa.abris.avro.read.confluent.SchemaManager
import za.co.absa.commons.io.TempDirectory
import za.co.absa.hyperdrive.testutils.SparkTestBase
import za.co.absa.commons.spark.SparkTestBase

/**
* This e2e test requires a Docker installation on the executing machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.apache.spark.sql.functions.lit
import org.scalatest.{BeforeAndAfter, FlatSpec, Matchers}
import za.co.absa.commons.io.TempDirectory
import za.co.absa.hyperdrive.ingestor.implementation.manager.checkpoint.CheckpointOffsetManager
import za.co.absa.hyperdrive.testutils.SparkTestBase
import za.co.absa.commons.spark.SparkTestBase

class TestParquetPartitioningStreamWriter extends FlatSpec with SparkTestBase with Matchers with BeforeAndAfter {

Expand Down

This file was deleted.

0 comments on commit d226f2f

Please sign in to comment.