tests

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstantDetachment

func ConstantDetachment(remainingArgs []string)

func ConstantDetachmentSender added in v0.3.3

func ConstantDetachmentSender(remainingArgs []string)

func EmptySessions added in v1.1.4

func EmptySessions(remainingArgs []string)

EmptySessions attempts to get the next available session from a session-enabled subscription that has no available sessions. This makes sure the server-enforced timeout works properly in our code over a long period of time.

func FinitePeeks added in v0.3.4

func FinitePeeks(remainingArgs []string)

func FiniteSendAndReceiveTest

func FiniteSendAndReceiveTest(remainingArgs []string)

func FiniteSessions added in v1.1.4

func FiniteSessions(remainingArgs []string)

func IdleFastReconnect added in v0.3.6

func IdleFastReconnect(remainingArgs []string)

func InfiniteSendAndReceiveRun

func InfiniteSendAndReceiveRun(remainingArgs []string)

func LongRunningRenewLockTest

func LongRunningRenewLockTest(remainingArgs []string)

func MostlyIdleReceiver added in v0.4.0

func MostlyIdleReceiver(remainingArgs []string)

MostlyIdleReceiver tests that if there are long idle periods that our connection continues to work and receive messages.

func RapidOpenCloseTest

func RapidOpenCloseTest(remainingArgs []string)

func ReceiveCancellation added in v0.3.4

func ReceiveCancellation(remainingArgs []string)

func Run

func Run(remainingArgs []string)

func SendAndReceiveDrain added in v1.0.0

func SendAndReceiveDrain(remainingArgs []string)

Types

type MetricName added in v1.2.0

type MetricName string
const (
	MetricNameSessionTimeoutMS MetricName = "SessionTimeoutMS"
	MetricNameConnectionLost   MetricName = "ConnectionLost"
	MetricNameMessageSent      MetricName = "MessageSent"
)

Jump to

Keyboard shortcuts

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