timeout

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Round1

func Round1() tests.SpecTest

Round1 tests calling UponRoundTimeout for round 1, testing state and broadcasted msgs

func Round15

func Round15() tests.SpecTest

Round15 tests calling UponRoundTimeout for round 15, testing state and broadcasted msgs

func Round2

func Round2() tests.SpecTest

Round2 tests calling UponRoundTimeout for round 2, testing state and broadcasted msgs

func Round3

func Round3() tests.SpecTest

Round3 tests calling UponRoundTimeout for round 3, testing state and broadcasted msgs

func Round5

func Round5() tests.SpecTest

Round5 tests calling UponRoundTimeout for round 5, testing state and broadcasted msgs

Types

type SpecTest

type SpecTest struct {
	Name               string
	Pre                *qbft.Instance
	PostRoot           string
	PostState          types.Root `json:"-"` // Field is ignored by encoding/json
	OutputMessages     []*types.SignedSSVMessage
	ExpectedTimerState *testingutils.TimerState
	ExpectedError      string
}

func (*SpecTest) GetPostState

func (test *SpecTest) GetPostState() (interface{}, error)

func (*SpecTest) Run

func (test *SpecTest) Run(t *testing.T)

func (*SpecTest) TestName

func (test *SpecTest) TestName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL