Skip to content

Commit 19e3c07

Browse files
committed
correct spelling mistake
1 parent 3939f43 commit 19e3c07

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tests/framework/resourcemanager.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ func (rm *ResourceManager) WaitForAppsToBeReady(namespace string) error {
307307
}
308308

309309
// WaitForAppsToBeReadyWithCtx waits for all apps in the specified namespace to be ready or
310-
// until the provided context is cancelled.
310+
// until the provided context is canceled.
311311
func (rm *ResourceManager) WaitForAppsToBeReadyWithCtx(ctx context.Context, namespace string) error {
312312
if err := rm.WaitForPodsToBeReady(ctx, namespace); err != nil {
313313
return err
@@ -325,7 +325,7 @@ func (rm *ResourceManager) WaitForAppsToBeReadyWithCtx(ctx context.Context, name
325325
}
326326

327327
// WaitForPodsToBeReady waits for all Pods in the specified namespace to be ready or
328-
// until the provided context is cancelled.
328+
// until the provided context is canceled.
329329
func (rm *ResourceManager) WaitForPodsToBeReady(ctx context.Context, namespace string) error {
330330
return wait.PollUntilContextCancel(
331331
ctx,
@@ -708,7 +708,7 @@ func (rm *ResourceManager) WaitForAppsToBeReadyWithCtxWithPodCount(ctx context.C
708708
}
709709

710710
// WaitForPodsToBeReady waits for all Pods in the specified namespace to be ready or
711-
// until the provided context is cancelled.
711+
// until the provided context is canceled.
712712
func (rm *ResourceManager) WaitForPodsToBeReadyWithCount(ctx context.Context, namespace string, count int) error {
713713
return wait.PollUntilContextCancel(
714714
ctx,

tests/suite/graceful_recovery_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ var _ = Describe("Graceful Recovery test", Ordered, Label("functional", "gracefu
4242
},
4343
}
4444

45-
baseHttpURL := "http://cafe.example.com"
46-
baseHttpsURL := "https://cafe.example.com"
47-
teaURL := baseHttpsURL + "/tea"
48-
coffeeURL := baseHttpURL + "/coffee"
45+
baseHTTPURL := "http://cafe.example.com"
46+
baseHTTPSURL := "https://cafe.example.com"
47+
teaURL := baseHTTPSURL + "/tea"
48+
coffeeURL := baseHTTPURL + "/coffee"
4949

5050
var ngfPodName string
5151

@@ -63,10 +63,10 @@ var _ = Describe("Graceful Recovery test", Ordered, Label("functional", "gracefu
6363

6464
ngfPodName = podNames[0]
6565
if portFwdPort != 0 {
66-
coffeeURL = fmt.Sprintf("%s:%d/coffee", baseHttpURL, portFwdPort)
66+
coffeeURL = fmt.Sprintf("%s:%d/coffee", baseHTTPURL, portFwdPort)
6767
}
6868
if portFwdHTTPSPort != 0 {
69-
teaURL = fmt.Sprintf("%s:%d/tea", baseHttpsURL, portFwdHTTPSPort)
69+
teaURL = fmt.Sprintf("%s:%d/tea", baseHTTPSURL, portFwdHTTPSPort)
7070
}
7171
})
7272

0 commit comments

Comments
 (0)