Skip to content

Commit

Permalink
connection-manager: server IO tests
Browse files Browse the repository at this point in the history
* unidirectional: two connection managers; first, running in initiator
  only mode, which connects to the other.
* bidirectional: two connection manager using a single bidirectional TCP
  connection
  • Loading branch information
coot committed Oct 25, 2021
1 parent a9fda79 commit e5976fa
Show file tree
Hide file tree
Showing 3 changed files with 1,019 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ouroboros-network-framework/ouroboros-network-framework.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ test-suite test
hs-source-dirs: test
other-modules: Test.Ouroboros.Network.Driver
Test.Ouroboros.Network.Orphans
Test.Ouroboros.Network.Server2
Test.Ouroboros.Network.Socket
Test.Ouroboros.Network.Subscription
Test.Ouroboros.Network.RateLimiting
Expand All @@ -133,6 +134,7 @@ test-suite test
, tasty
, tasty-quickcheck

, cardano-prelude
, contra-tracer

, io-sim
Expand Down
2 changes: 2 additions & 0 deletions ouroboros-network-framework/test/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module Main (main) where

import Test.Tasty

import qualified Test.Ouroboros.Network.Server2 as Server2
import qualified Test.Ouroboros.Network.Driver as Driver
import qualified Test.Ouroboros.Network.Socket as Socket
import qualified Test.Ouroboros.Network.Subscription as Subscription
Expand All @@ -14,6 +15,7 @@ tests :: TestTree
tests =
testGroup "ouroboros-network-framework"
[ Driver.tests
, Server2.tests
, Socket.tests
, Subscription.tests
, RateLimiting.tests
Expand Down
Loading

0 comments on commit e5976fa

Please sign in to comment.