add framework to emptyDir test

This commit is contained in:
Daniel Smith
2015-05-22 13:12:55 -07:00
parent 6ae8c78527
commit 86799cdd9d
2 changed files with 8 additions and 12 deletions

View File

@@ -94,3 +94,8 @@ func (f *Framework) afterEach() {
func (f *Framework) WaitForPodRunning(podName string) error {
return waitForPodRunningInNamespace(f.Client, podName, f.Namespace.Name)
}
// Runs the given pod and verifies that its output matches the desired output.
func (f *Framework) TestContainerOutput(scenarioName string, pod *api.Pod, expectedOutput []string) {
testContainerOutputInNamespace(scenarioName, f.Client, pod, expectedOutput, f.Namespace.Name)
}