Documentation
¶
Overview ¶
Package problemrectest gives tests a local journal test socket for the problem records of intuneme. Only tests import it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Socket ¶
type Socket struct {
// Path is the socket path for problems.WithSocket.
Path string
// contains filtered or unexported fields
}
Socket is a unixgram test socket that stands in for the journal socket.
func Use ¶
Use makes the process-wide recorder for version, writing to a new test socket, and restores the old recorder at the end of the test.
func (*Socket) ExpectNone ¶
ExpectNone fails the test when a datagram arrives within wait. A record is sent before the call that writes it returns, so a short wait is enough.
Click to show internal directories.
Click to hide internal directories.