Fix e2e tests

This commit is contained in:
Tomasz Sęk
2019-06-29 17:06:38 +02:00
parent 9a88f45efe
commit f7b6443fc6
4 changed files with 13 additions and 1 deletions
+1
View File
@@ -67,6 +67,7 @@ func createJenkinsCR(t *testing.T, name, namespace string, seedJob *[]v1alpha2.S
}
jenkins := &v1alpha2.Jenkins{
TypeMeta: v1alpha2.JenkinsTypeMeta(),
ObjectMeta: metav1.ObjectMeta{
Name: name,
Namespace: namespace,
+1
View File
@@ -72,6 +72,7 @@ func createPVC(t *testing.T, namespace string) {
func createJenkinsWithBackupAndRestoreConfigured(t *testing.T, name, namespace string) *v1alpha2.Jenkins {
containerName := "backup"
jenkins := &v1alpha2.Jenkins{
TypeMeta: v1alpha2.JenkinsTypeMeta(),
ObjectMeta: metav1.ObjectMeta{
Name: name,
Namespace: namespace,