dependencies: ginkgo v2.9.1, gomega v1.27.4

They contain some nice-to-have improvements (for example, better printing of
errors with gomega/format.Object) but nothing that is critical right now.

"go mod tidy" was run manually in
staging/src/k8s.io/kms/internal/plugins/mock (https://github.com/kubernetes/kubernetes/pull/116613
not merged yet).
This commit is contained in:
Patrick Ohly
2023-03-13 16:06:20 +01:00
parent fcf5d23e68
commit fe59e091eb
202 changed files with 3630 additions and 1859 deletions

View File

@@ -168,7 +168,9 @@ INFO: before
< Exit [BeforeEach] log - log_test.go:48 <time>
> Enter [It] error - log_test.go:63 <time>
INFO: Unexpected error: hard-coded error:
<*errors.errorString>: {
<*errors.errorString>:
an error with a long, useless description
{
s: "an error with a long, useless description",
}
[FAILED] hard-coded error: an error with a long, useless description

View File

@@ -149,8 +149,9 @@ In [It] at: wait_test.go:54 <time>
Type: "failed",
Description: `[FAILED] Timed out after <after>.
The function passed to Eventually returned the following error:
pods "no-such-pod" not found
<framework.transientError>: {
<framework.transientError>:
pods "no-such-pod" not found
{
error: <*errors.StatusError>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
@@ -179,8 +180,9 @@ INFO: Failed inside E2E framework:
wait_test.go:58
[FAILED] Timed out after <after>.
The function passed to Eventually returned the following error:
pods "no-such-pod" not found
<framework.transientError>: {
<framework.transientError>:
pods "no-such-pod" not found
{
error: <*errors.StatusError>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
@@ -209,8 +211,9 @@ In [It] at: wait_test.go:58 <time>
Type: "failed",
Description: `[FAILED] Timed out after <after>.
The function passed to Eventually returned the following error:
pods "no-such-pod" not found
<framework.transientError>: {
<framework.transientError>:
pods "no-such-pod" not found
{
error: <*errors.StatusError>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
@@ -234,8 +237,9 @@ In [It] at: wait_test.go:62 <time>
SystemErr: `> Enter [It] not found, retry with wrappers - wait_test.go:61 <time>
[FAILED] Timed out after <after>.
The function passed to Eventually returned the following error:
pods "no-such-pod" not found
<framework.transientError>: {
<framework.transientError>:
pods "no-such-pod" not found
{
error: <*errors.StatusError>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
@@ -264,8 +268,9 @@ In [It] at: wait_test.go:62 <time>
Type: "failed",
Description: `[FAILED] Timed out after <after>.
The function passed to Eventually returned the following error:
pods "no-such-pod" not found
<framework.transientError>: {
<framework.transientError>:
pods "no-such-pod" not found
{
error: <*errors.StatusError>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
@@ -289,8 +294,9 @@ In [It] at: wait_test.go:66 <time>
SystemErr: `> Enter [It] not found, retry with inverted wrappers - wait_test.go:65 <time>
[FAILED] Timed out after <after>.
The function passed to Eventually returned the following error:
pods "no-such-pod" not found
<framework.transientError>: {
<framework.transientError>:
pods "no-such-pod" not found
{
error: <*errors.StatusError>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
@@ -383,8 +389,9 @@ In [It] at: wait_test.go:75 <time>
Failure: &reporters.JUnitFailure{
Description: `[FAILED] Timed out after <after>.
The function passed to Eventually returned the following error:
fake API error
<*errors.StatusError>: {
<*errors.StatusError>:
fake API error
{
ErrStatus:
code: 429
details:
@@ -416,8 +423,9 @@ STEP: returning pod - wait_test.go:90 <time>
STEP: returning fake API error - wait_test.go:82 <time>
[FAILED] Timed out after <after>.
The function passed to Eventually returned the following error:
fake API error
<*errors.StatusError>: {
<*errors.StatusError>:
fake API error
{
ErrStatus:
code: 429
details: