Documentation ¶
Index ¶
Constants ¶
View Source
const ( TestResultKey = "RESULT" TestPass = "PASS" TestFail = "FAIL" TestFailReason = "FAIL_REASON" )
constants used in the pod logs, which we then use to build test results. TODO(Fredy-Z): we'll need a more robust way to export test results from the pod.
Variables ¶
This section is empty.
Functions ¶
func CreatePerfTestCase ¶
CreatePerfTestCase creates a perf test case with the provided name and value
func ParseTestResultFromLog ¶
func ParseTestResultFromLog(client *test.KubeClient, podName, containerName, namespace string) (map[string]string, error)
ParseTestResultFromLog will parse the test result from the pod log TODO(Fredy-Z): this is very hacky and error prone, we need to find a better way to get the result.
Probably write the logs in JSON format as zipkin tracing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.