Skip to content

Commit

Permalink
--wip-- [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
JoranVanBelle committed Jan 7, 2025
1 parent 135aac3 commit 2a335dd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 75 deletions.
31 changes: 0 additions & 31 deletions hw-kafka-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ flag examples
manual: True
default: False

flag admin
description: Run integration tests
manual: True
default: False


flag it
description: Run integration tests
manual: True
Expand Down Expand Up @@ -100,31 +94,6 @@ executable kafka-client-example
ProducerExample
default-language: Haskell2010

test-suite admin-tests
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
main-is: Spec.hs
hs-source-dirs: tests-it
ghc-options: -Wall -threaded
build-depends: base >=4.6 && <5
, bifunctors
, bytestring
, containers
, either
, hspec
, hw-kafka-client
, monad-loops
, random
, text
, transformers
build-tool-depends: hspec-discover:hspec-discover
if !(flag(admin))
buildable: False
other-modules: Kafka.AdminSpec
Kafka.IntegrationSpec
Kafka.TestEnv
default-language: Haskell2010

test-suite integration-tests
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
Expand Down
42 changes: 0 additions & 42 deletions tests-it/Kafka/AdminSpec.hs

This file was deleted.

2 changes: 0 additions & 2 deletions tests-it/Kafka/IntegrationSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,8 @@ spec = do

it "should create a new topic" $ \(admin :: KAdmin) -> do
tName <- topicName
putStrLn tName
let newTopic = mkNewTopic (TopicName ( T.pack(tName) ))
result <- createTopic admin newTopic
putStrLn "Topic has been created in the test"
result `shouldSatisfy` isRight
----------------------------------------------------------------------------------------------------------------

Expand Down

0 comments on commit 2a335dd

Please sign in to comment.