Documentation
¶
Index ¶
- func GetAllRunners() map[string]TestRunner
- func ListAvailableTests()
- func Register(name string, runner TestRunner)
- func TestAllClientsSoftLimitImpl(cfg *config.Config) error
- func TestNewPooledTransactionHashesSoftLimitWithNonceDetailed(cfg *config.Config, nodeIndex int, hashCount int, startNonce uint64) (int, string, error)
- func TestSoftLimitForReportImpl(cfg *config.Config) error
- type BlobMultiNodeTest
- type BlobSingleNodeTest
- type LargeTransactionsTest
- type MultiNodeTest
- type OneTransactionTest
- type SingleNodeTest
- type SoftLimitReportTest
- type SoftLimitSingleTest
- type SoftLimitTest
- type TestRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRunners ¶
func GetAllRunners() map[string]TestRunner
GetAllRunners returns all registered runners
func ListAvailableTests ¶
func ListAvailableTests()
ListAvailableTests prints all available test modes
func TestAllClientsSoftLimitImpl ¶
TestAllClientsSoftLimitImpl implements the test for all clients
func TestNewPooledTransactionHashesSoftLimitWithNonceDetailed ¶
func TestNewPooledTransactionHashesSoftLimitWithNonceDetailed(cfg *config.Config, nodeIndex int, hashCount int, startNonce uint64) (int, string, error)
TestNewPooledTransactionHashesSoftLimitWithNonceDetailed tests with custom starting nonce and returns detailed results
func TestSoftLimitForReportImpl ¶
TestSoftLimitForReportImpl runs soft limit tests for all clients and generates a concise report
Types ¶
type BlobMultiNodeTest ¶
type BlobMultiNodeTest struct{}
BlobMultiNodeTest implements multi-node blob transaction testing
func (*BlobMultiNodeTest) Description ¶
func (t *BlobMultiNodeTest) Description() string
func (*BlobMultiNodeTest) Name ¶
func (t *BlobMultiNodeTest) Name() string
type BlobSingleNodeTest ¶
type BlobSingleNodeTest struct{}
BlobSingleNodeTest implements single-node blob transaction testing
func (*BlobSingleNodeTest) Description ¶
func (t *BlobSingleNodeTest) Description() string
func (*BlobSingleNodeTest) Name ¶
func (t *BlobSingleNodeTest) Name() string
type LargeTransactionsTest ¶
type LargeTransactionsTest struct{}
LargeTransactionsTest sends large batch of transactions
func (*LargeTransactionsTest) Description ¶
func (t *LargeTransactionsTest) Description() string
func (*LargeTransactionsTest) Name ¶
func (t *LargeTransactionsTest) Name() string
type MultiNodeTest ¶
type MultiNodeTest struct{}
MultiNodeTest implements multi-node testing
func (*MultiNodeTest) Description ¶
func (t *MultiNodeTest) Description() string
func (*MultiNodeTest) Name ¶
func (t *MultiNodeTest) Name() string
type OneTransactionTest ¶
type OneTransactionTest struct{}
OneTransactionTest sends a single transaction
func (*OneTransactionTest) Description ¶
func (t *OneTransactionTest) Description() string
func (*OneTransactionTest) Name ¶
func (t *OneTransactionTest) Name() string
type SingleNodeTest ¶
type SingleNodeTest struct{}
SingleNodeTest implements single node testing
func (*SingleNodeTest) Description ¶
func (t *SingleNodeTest) Description() string
func (*SingleNodeTest) Name ¶
func (t *SingleNodeTest) Name() string
type SoftLimitReportTest ¶
type SoftLimitReportTest struct{}
SoftLimitReportTest generates soft limit test report
func (*SoftLimitReportTest) Description ¶
func (t *SoftLimitReportTest) Description() string
func (*SoftLimitReportTest) Name ¶
func (t *SoftLimitReportTest) Name() string
type SoftLimitSingleTest ¶
type SoftLimitSingleTest struct{}
SoftLimitSingleTest tests single client's soft limit
func (*SoftLimitSingleTest) Description ¶
func (t *SoftLimitSingleTest) Description() string
func (*SoftLimitSingleTest) Name ¶
func (t *SoftLimitSingleTest) Name() string
type SoftLimitTest ¶
type SoftLimitTest struct{}
SoftLimitTest tests all clients' soft limit implementation
func (*SoftLimitTest) Description ¶
func (t *SoftLimitTest) Description() string
func (*SoftLimitTest) Name ¶
func (t *SoftLimitTest) Name() string
type TestRunner ¶
type TestRunner interface {
// Name returns the test mode name
Name() string
// Description returns a brief description of the test
Description() string
// Run executes the test with the given configuration
Run(cfg *config.Config) error
}
TestRunner defines the interface for all test modes
func GetRunner ¶
func GetRunner(name string) (TestRunner, bool)
GetRunner returns a test runner by name