Skip to content

Commit

Permalink
Fix Deployment acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Dec 7, 2018
1 parent 2dda883 commit 16383e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kubernetes/resource_kubernetes_deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func TestAccKubernetesDeployment_with_security_context(t *testing.T) {
var conf api.Deployment

rcName := fmt.Sprintf("tf-acc-test-%s", acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum))
imageName := "nginx:1.7.9"
imageName := "redis:5.0.2"

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand Down Expand Up @@ -266,7 +266,7 @@ func TestAccKubernetesDeployment_with_container_lifecycle(t *testing.T) {
var conf api.Deployment

rcName := fmt.Sprintf("tf-acc-test-%s", acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum))
imageName := "gcr.io/google_containers/liveness"
imageName := "gcr.io/google_containers/busybox"

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand Down Expand Up @@ -297,7 +297,7 @@ func TestAccKubernetesDeployment_with_container_security_context(t *testing.T) {
var conf api.Deployment

rcName := fmt.Sprintf("tf-acc-test-%s", acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum))
imageName := "nginx:1.7.9"
imageName := "redis:5.0.2"

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand Down Expand Up @@ -944,7 +944,7 @@ resource "kubernetes_deployment" "test" {
container {
image = "%s"
name = "containername"
args = ["/server"]
command = ["sleep", "60"]
lifecycle {
post_start {
Expand Down

0 comments on commit 16383e8

Please sign in to comment.