From d53a6c19ff2e446dbbdc3f49c1c085b04f4af49f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilson=20J=C3=BAnior?= Date: Tue, 7 Apr 2020 09:36:42 -0300 Subject: [PATCH] Fix tests of version of rpaas --- test/integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration_test.go b/test/integration_test.go index 249100579..b590bcada 100644 --- a/test/integration_test.go +++ b/test/integration_test.go @@ -50,7 +50,7 @@ func Test_RpaasOperator(t *testing.T) { nginx, err := getReadyNginx("my-instance", namespaceName, 2, 1) require.NoError(t, err) assert.Equal(t, int32(2), *nginx.Spec.Replicas) - assert.Equal(t, "tsuru/nginx-tsuru:1.15.0", nginx.Spec.Image) + assert.Equal(t, "tsuru/nginx-tsuru:1.16.1", nginx.Spec.Image) assert.Equal(t, "/_nginx_healthcheck", nginx.Spec.HealthcheckPath) assert.Len(t, nginx.Status.Pods, 2) for _, podStatus := range nginx.Status.Pods { @@ -176,7 +176,7 @@ func Test_RpaasApi(t *testing.T) { require.NoError(t, err) require.NotNil(t, nginx) assert.Equal(t, int32(1), *nginx.Spec.Replicas) - assert.Equal(t, "tsuru/nginx-tsuru:1.15.0", nginx.Spec.Image) + assert.Equal(t, "tsuru/nginx-tsuru:1.16.1", nginx.Spec.Image) assert.Equal(t, "/_nginx_healthcheck", nginx.Spec.HealthcheckPath) nginxService := &corev1.Service{