test

package
v1.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 22 modules, 68 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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