Skip to content

Commit f84ac84

Browse files
committedOct 3, 2023
test/e2e: more misc improvements
Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent a476dc0 commit f84ac84

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎test/e2e/subscription_e2e_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3086,9 +3086,9 @@ func fetchSubscription(crc versioned.Interface, namespace, name string, checker
30863086
return false, err
30873087
}
30883088
thisState, thisCSV, thisInstallPlanRef := fetchedSubscription.Status.State, fetchedSubscription.Status.CurrentCSV, fetchedSubscription.Status.InstallPlanRef
3089-
if thisState != lastState || thisCSV != lastCSV || equality.Semantic.DeepEqual(thisInstallPlanRef, lastInstallPlanRef) {
3089+
if thisState != lastState || thisCSV != lastCSV || !equality.Semantic.DeepEqual(thisInstallPlanRef, lastInstallPlanRef) {
30903090
lastState, lastCSV, lastInstallPlanRef = thisState, thisCSV, thisInstallPlanRef
3091-
log(fmt.Sprintf("%s (%s): %s", thisState, thisCSV, thisInstallPlanRef))
3091+
log(fmt.Sprintf("subscription %s/%s state: %s (csv %s): installPlanRef: %#v", namespace, name, thisState, thisCSV, thisInstallPlanRef))
30923092
}
30933093
return checker(fetchedSubscription), nil
30943094
})

‎test/e2e/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import (
5050
)
5151

5252
const (
53-
pollInterval = 1 * time.Second
53+
pollInterval = 100 * time.Millisecond
5454
pollDuration = 5 * time.Minute
5555

5656
olmConfigMap = "olm-operators" // No-longer used, how long do we keep this around?

0 commit comments

Comments
 (0)
Please sign in to comment.