Skip to content

Commit

Permalink
Change runTest name to runRecoveryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
bjee19 committed Apr 26, 2024
1 parent 7e60a18 commit 9bf650c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/suite/graceful_recovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ var _ = Describe("Graceful Recovery test", Ordered, Label("nfr", "graceful-recov
})

It("recovers when NGF container is restarted", func() {
runTest(ngfContainerName, files, ns)
runRecoveryTest(ngfContainerName, files, ns)
})

It("recovers when nginx container is restarted", func() {
runTest(nginxContainerName, files, ns)
runRecoveryTest(nginxContainerName, files, ns)
})
})

func runTest(containerName string, files []string, ns *core.Namespace) {
func runRecoveryTest(containerName string, files []string, ns *core.Namespace) {
podNames, err := framework.GetReadyNGFPodNames(k8sClient, ngfNamespace, releaseName, timeoutConfig.GetTimeout)
Expect(err).ToNot(HaveOccurred())
Expect(podNames).ToNot(BeEmpty())
Expand Down

0 comments on commit 9bf650c

Please sign in to comment.