queuetest

package
v0.30.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

package storetest contains SHARED tests for /pkg/ucp/queue

Index

Constants

View Source
const (
	TestMessageLockTime = time.Duration(1) * time.Second
)

Variables

This section is empty.

Functions

func RunTest

func RunTest(t *testing.T, cli client.Client, clear func(t *testing.T))

RunTest tests the client's Enqueue, FinishMessage, ExtendMessage, Dequeue methods by enqueuing and dequeuing messages, and checking for errors when nil messages are passed. It also tests the StartDequeuer method by dequeuing messages via a

channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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