ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Test.Consensus.PeerSimulator.Tests.LinkedThreads

Description

The scheduled ChainSync and BlockFetch servers are supposed to be linked, such that if one gets disconnected, then so does the other. This module contains a collection of smoke tests to make sure of that.

Documentation

data TestKey Source #

Instances

Instances details
Generic TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests.LinkedThreads

Associated Types

type Rep TestKey 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests.LinkedThreads

type Rep TestKey = D1 ('MetaData "TestKey" "Test.Consensus.PeerSimulator.Tests.LinkedThreads" "ouroboros-consensus-3.0.0.0-inplace-consensus-diffusion-test" 'False) (C1 ('MetaCons "ChainSyncKillsBlockFetch" 'PrefixI 'False) (U1TypeType))

Methods

fromTestKeyRep TestKey x #

toRep TestKey x → TestKey #

Eq TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests.LinkedThreads

Methods

(==)TestKeyTestKeyBool #

(/=)TestKeyTestKeyBool #

Ord TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests.LinkedThreads

Methods

compareTestKeyTestKeyOrdering #

(<)TestKeyTestKeyBool #

(<=)TestKeyTestKeyBool #

(>)TestKeyTestKeyBool #

(>=)TestKeyTestKeyBool #

maxTestKeyTestKeyTestKey #

minTestKeyTestKeyTestKey #

SmallKey TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests.LinkedThreads

Methods

allKeys ∷ [TestKey]

type Rep TestKey Source # 
Instance details

Defined in Test.Consensus.PeerSimulator.Tests.LinkedThreads

type Rep TestKey = D1 ('MetaData "TestKey" "Test.Consensus.PeerSimulator.Tests.LinkedThreads" "ouroboros-consensus-3.0.0.0-inplace-consensus-diffusion-test" 'False) (C1 ('MetaCons "ChainSyncKillsBlockFetch" 'PrefixI 'False) (U1TypeType))