logsendertest

package
v0.0.0-...-a0d7459 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logsendertest provides testing utilities related to the logsender package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectLogStats

func ExpectLogStats(c *gc.C, writer *logsender.BufferedLogWriter, expect logsender.LogStats)

ExpectLogStats waits for the buffered log writer's statistics to match the expected value. This is provided because statistics are updated after log messages are handed off to the sink, and so tests must cater for the gap or races will occur.

Types

This section is empty.

Jump to

Keyboard shortcuts

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