Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRequestAndExpectEventuallyConsistentResponse ¶
func MakeRequestAndExpectEventuallyConsistentResponse(t *testing.T, timeoutConfig config.TimeoutConfig, gwAddr string, expected ExpectedResponse)
Types ¶
type ExpectedResponse ¶
type ExpectedResponse struct { // Defines the request to make. Only one of EchoRequest and EchoTwoRequest // may be set. EchoRequest *pb.EchoRequest EchoTwoRequest *pb.EchoRequest EchoThreeRequest *pb.EchoRequest // Metadata describing the outgoing request. RequestMetadata *RequestMetadata // Response defines what response the test case // should receive. Response Response Backend string Namespace string // User Given TestCase name TestCaseName string }
ExpectedResponse defines the response expected for a given request.
func (*ExpectedResponse) GetTestCaseName ¶
func (er *ExpectedResponse) GetTestCaseName(i int) string
type RequestMetadata ¶
Click to show internal directories.
Click to hide internal directories.