-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Testcontainers and remove sbt-docker-compose
- Loading branch information
Showing
22 changed files
with
608 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 20 additions & 20 deletions
40
benchmarks/src/it/scala/akka/kafka/benchmarks/Benchmarks.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
benchmarks/src/it/scala/akka/kafka/benchmarks/SpecBase.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package akka.kafka.benchmarks | ||
|
||
import akka.kafka.testkit.scaladsl.ScalatestKafkaSpec | ||
import org.scalatest.concurrent.{Eventually, ScalaFutures} | ||
import org.scalatest.{FlatSpecLike, Matchers} | ||
|
||
abstract class SpecBase(kafkaPort: Int) | ||
extends ScalatestKafkaSpec(kafkaPort) | ||
with FlatSpecLike | ||
with Matchers | ||
with ScalaFutures | ||
with Eventually { | ||
|
||
protected def this() = this(kafkaPort = -1) | ||
} |
18 changes: 18 additions & 0 deletions
18
benchmarks/src/it/scala/akka/kafka/benchmarks/TestTester.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package akka.kafka.benchmarks | ||
|
||
// TODO: deleteme | ||
class TestTester1 extends BenchmarksBase() { | ||
|
||
it should "test" in { | ||
log.info("TestTester1 test") | ||
succeed | ||
} | ||
} | ||
|
||
class TestTester2 extends BenchmarksBase() { | ||
|
||
it should "test" in { | ||
log.info("TestTester2 test") | ||
succeed | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.