Skip to content

Commit 041752c

Browse files
Add GinkgoHelper to expectations that were missing it (#123)
1 parent 8b45bb2 commit 041752c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/expectations/expectations.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ func ExpectDeletionTimestampSet(ctx context.Context, c client.Client, objects ..
119119
}
120120

121121
func ExpectStatusConditions(ctx context.Context, c client.Client, timeout time.Duration, obj status.Object, conditions ...status.Condition) {
122+
GinkgoHelper()
122123
Eventually(func(g Gomega) {
123124
g.Expect(c.Get(ctx, client.ObjectKeyFromObject(obj), obj)).To(BeNil())
124125
objStatus := obj.StatusConditions()
@@ -179,6 +180,7 @@ func ExpectForceCleanedUp(ctx context.Context, c client.Client, objectLists ...c
179180
}
180181

181182
func expectCleanedUp(ctx context.Context, c client.Client, force bool, objectLists ...client.ObjectList) {
183+
GinkgoHelper()
182184
wg := sync.WaitGroup{}
183185
for _, objectList := range objectLists {
184186
wg.Add(1)

0 commit comments

Comments
 (0)