dependencies: update to gomega v1.22.1 and ginkgo v2.3.1

This adds support for timeouts and intermediate reports in Eventually and
Consistently.
This commit is contained in:
Patrick Ohly
2022-10-07 17:19:09 +02:00
parent 48608cfe60
commit d1dbf7ae3e
57 changed files with 2043 additions and 937 deletions

View File

@@ -2,6 +2,7 @@ package internal
import (
"strings"
"time"
"github.com/onsi/ginkgo/v2/types"
)
@@ -40,6 +41,10 @@ func (s Spec) FlakeAttempts() int {
return flakeAttempts
}
func (s Spec) SpecTimeout() time.Duration {
return s.FirstNodeWithType(types.NodeTypeIt).SpecTimeout
}
type Specs []Spec
func (s Specs) HasAnySpecsMarkedPending() bool {