integrationtest

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 7 Imported by: 0

README

/pkg/rsstorage/internal/integration_test

Description

Includes unit tests that exercise all the storage servers implemented in pkg/rsstorage/servers/*. Since these tests must import all the implementation modules, we package them separately so other applications don't need to import all the implementations and their dependencies.

These tests can be run with:

# All tests
just test-integration

# All tests in this module
MODULE=pkg/rsstorage/internal/integration_test just test-integration

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStorageServer

func GetStorageServer(cfg *rsstorage.Config, class string, destination string, waiter rsstorage.ChunkWaiter, notifier rsstorage.ChunkNotifier, pool *pgxpool.Pool, cstore rsstorage.CacheStore) (rsstorage.StorageServer, error)

GetStorageServer wraps getStorageServerAttempt, fatally erring if something goes wrong

Types

This section is empty.

Jump to

Keyboard shortcuts

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