Skip to content

Commit

Permalink
new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sipriyaa committed Jul 17, 2024
1 parent 6ab42f5 commit 96b90a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/e2e/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -990,10 +990,9 @@ func createStatefulSetWithOneReplica(client clientset.Interface, manifestPath st
if strings.Contains(err.Error(), "already exists") {
framework.Logf("services 'nginx' already exists")
} else {
gomega.Expect(err).NotTo(gomega.HaveOccurred())
fmt.Errorf("Failed to create nginx service")
}
}
gomega.Expect(err).NotTo(gomega.HaveOccurred())
*statefulSet.Spec.Replicas = 1
_, err = client.AppsV1().StatefulSets(namespace).Create(ctx, statefulSet, metav1.CreateOptions{})
gomega.Expect(err).NotTo(gomega.HaveOccurred())
Expand Down

0 comments on commit 96b90a3

Please sign in to comment.