test

package
v0.0.1-bate.9 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddACL

func AddACL(config *common.Config, policyName, policy string) error

AddACL adds an ACL config value to channel config

func Failf

func Failf(t *testing.T, template string, args ...interface{})

Failf - as t.Fatalf is not goroutine safe, this function behaves like t.Fatalf.

func Logf

func Logf(template string, args ...interface{})

Logf writes to stdout and flushes. Applicable for when t.Logf can't be used.

func ModifyMaxMessageCount

func ModifyMaxMessageCount(config *common.Config) (uint32, error)

ModifyMaxMessageCount increments the orderer's BatchSize.MaxMessageCount in a channel config

func VerifyACL

func VerifyACL(config *common.Config, expectedPolicyName, expectedPolicy string) error

VerifyACL verifies an ACL config value

func VerifyMaxMessageCount

func VerifyMaxMessageCount(config *common.Config, expected uint32) error

VerifyMaxMessageCount verifies the orderer's BatchSize.MaxMessageCount in a channel config

Types

This section is empty.

Jump to

Keyboard shortcuts

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