neo4j-go-driver: github.com/neo4j/neo4j-go-driver/neo4j/test-integration/stress Index | Files

package stress

import "github.com/neo4j/neo4j-go-driver/neo4j/test-integration/stress"

Index

Package Files

stress.go

func FailingQueryExecutor Uses

func FailingQueryExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

FailingQueryExecutor returns a new test executor which fails in streaming using Session.Run

func FailingQueryInTxExecutor Uses

func FailingQueryInTxExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

FailingQueryInTxExecutor returns a new test executor which fails in streaming using Transaction.Run

func FailingQueryWithReadTransactionExecutor Uses

func FailingQueryWithReadTransactionExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

FailingQueryWithReadTransactionExecutor returns a new test executor which fails in streaming using Session.ReadTransaction

func FailingQueryWithWriteTransactionExecutor Uses

func FailingQueryWithWriteTransactionExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

FailingQueryWithWriteTransactionExecutor returns a new test executor which fails in streaming using Session.WriteTransaction

func ReadQueryExecutor Uses

func ReadQueryExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

ReadQueryExecutor returns a new test executor which reads using Session.Run

func ReadQueryInTxExecutor Uses

func ReadQueryInTxExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

ReadQueryInTxExecutor returns a new test executor which reads using Transaction.Run

func ReadQueryWithReadTransactionExecutor Uses

func ReadQueryWithReadTransactionExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

ReadQueryWithReadTransactionExecutor returns a new test executor which reads using Session.ReadTransaction

func WriteQueryExecutor Uses

func WriteQueryExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

WriteQueryExecutor returns a new test executor which writes using Session.Run

func WriteQueryInReadSessionExecutor Uses

func WriteQueryInReadSessionExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

WriteQueryInReadSessionExecutor returns a new test executor which tries writes using Session.Run with read access mode

func WriteQueryInTxExecutor Uses

func WriteQueryInTxExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

WriteQueryInTxExecutor returns a new test executor which writes using Transaction.Run

func WriteQueryInTxInReadSessionExecutor Uses

func WriteQueryInTxInReadSessionExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

WriteQueryInTxInReadSessionExecutor returns a new test executor which tries writes using Transaction.Run with read access mode

func WriteQueryWithWriteTransactionExecutor Uses

func WriteQueryWithWriteTransactionExecutor(driver neo4j.Driver, useBookmark bool) func(ctx *TestContext)

WriteQueryWithWriteTransactionExecutor returns a new test executor which writes using Session.WriteTransaction

func WrongQueryExecutor Uses

func WrongQueryExecutor(driver neo4j.Driver) func(ctx *TestContext)

WrongQueryExecutor returns a new test executor which fails using Session.Run

func WrongQueryInTxExecutor Uses

func WrongQueryInTxExecutor(driver neo4j.Driver) func(ctx *TestContext)

WrongQueryInTxExecutor returns a new test executor which fails using Transaction.Run

type TestContext Uses

type TestContext struct {
    // contains filtered or unexported fields
}

TestContext provides state data shared across tests

func NewTestContext Uses

func NewTestContext(driver neo4j.Driver) *TestContext

NewTestContext returns a new TestContext

func (*TestContext) PrintStats Uses

func (ctx *TestContext) PrintStats()

PrintStats writes summary information about the completed test

func (*TestContext) ShouldStop Uses

func (ctx *TestContext) ShouldStop() bool

ShouldStop returns whether a stop is signalled

func (*TestContext) Stop Uses

func (ctx *TestContext) Stop()

Stop signals a stop

Package stress imports 7 packages (graph). Updated 2019-03-06. Refresh now. Tools for package owners.