Skip to content

Commit

Permalink
Fix unit test error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Jun 27, 2019
1 parent a01c1e0 commit 448a412
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/await/apps_deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ func Test_Apps_Deployment(t *testing.T) {
object: deploymentProgressing(inputNamespace, deploymentInputName, revision1),
subErrors: []string{
"Minimum number of live Pods was not attained",
`1 Pods failed to run because: [ImagePullBackOff] Back-off pulling image "sdkjlsdlkj"`,
`containers with unready status: [nginx] -- Back-off pulling image "sdkjlsdlkj"`,
}},
},
{
Expand All @@ -523,7 +523,7 @@ func Test_Apps_Deployment(t *testing.T) {
object: deploymentProgressing(inputNamespace, deploymentInputName, revision2),
subErrors: []string{
"Minimum number of live Pods was not attained",
`1 Pods failed to run because: [ImagePullBackOff] Back-off pulling image "sdkjlsdlkj"`,
`containers with unready status: [nginx] -- Back-off pulling image "sdkjlsdlkj"`,
}},
},
{
Expand Down
4 changes: 2 additions & 2 deletions pkg/await/apps_statefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func Test_Apps_StatefulSet(t *testing.T) {
object: statefulsetProgressing(inputNamespace, inputName, targetService),
subErrors: []string{
"Failed to observe the expected number of ready replicas",
"1 Pods failed to run because: [ErrImagePull] manifest for nginx:busted not found",
"containers with unready status: [nginx] -- manifest for nginx:busted not found",
}},
},
{
Expand All @@ -187,7 +187,7 @@ func Test_Apps_StatefulSet(t *testing.T) {
subErrors: []string{
"Failed to observe the expected number of ready replicas",
".status.currentRevision does not match .status.updateRevision",
"1 Pods failed to run because: [ErrImagePull] manifest for nginx:busted not found",
"containers with unready status: [nginx] -- manifest for nginx:busted not found",
}},
},
}
Expand Down

0 comments on commit 448a412

Please sign in to comment.