From 061ac71f36b61bcccbb40edfa61e6404e247f87a Mon Sep 17 00:00:00 2001 From: Diego Lovison Date: Wed, 13 Nov 2024 15:26:14 -0300 Subject: [PATCH] Increase the interval and timeout --- tests/dspa_v2_test.go | 4 ++-- tests/experiments_test.go | 1 + tests/resources/test-pipeline-run.yaml | 4 ++-- tests/resources/test-pipeline-with-custom-pip-server-run.yaml | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/dspa_v2_test.go b/tests/dspa_v2_test.go index 93ff0f0b2..ce6eeedf5 100644 --- a/tests/dspa_v2_test.go +++ b/tests/dspa_v2_test.go @@ -51,8 +51,8 @@ func (suite *IntegrationTestSuite) TestDSPADeployment() { } suite.T().Run("with default MariaDB and Minio", func(t *testing.T) { t.Run(fmt.Sprintf("should have %d pods", podCount), func(t *testing.T) { - timeout := time.Second * 10 - interval := time.Millisecond * 2 + timeout := time.Second * 120 + interval := time.Second * 2 actualPodCount := 0 require.Eventually(t, func() bool { diff --git a/tests/experiments_test.go b/tests/experiments_test.go index 341ae24f6..74dd36e0d 100644 --- a/tests/experiments_test.go +++ b/tests/experiments_test.go @@ -37,5 +37,6 @@ func (suite *IntegrationTestSuite) TestFetchExperiments() { suite.Assert().Equal(200, response.StatusCode, "Expected HTTP status code 200 for fetching experiments") loggr.Info(string(responseData)) + loggr.Info("Hi test") }) } diff --git a/tests/resources/test-pipeline-run.yaml b/tests/resources/test-pipeline-run.yaml index f33ddf5e6..1ba3703ed 100644 --- a/tests/resources/test-pipeline-run.yaml +++ b/tests/resources/test-pipeline-run.yaml @@ -29,7 +29,7 @@ deploymentSpec: - -c - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ - \ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.9.0'\ + \ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.10.0'\ \ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\ $0\" \"$@\"\n" - sh @@ -77,4 +77,4 @@ root: Output: parameterType: STRING schemaVersion: 2.1.0 -sdkVersion: kfp-2.9.0 +sdkVersion: kfp-2.10.0 diff --git a/tests/resources/test-pipeline-with-custom-pip-server-run.yaml b/tests/resources/test-pipeline-with-custom-pip-server-run.yaml index d6713716f..06d2095ab 100644 --- a/tests/resources/test-pipeline-with-custom-pip-server-run.yaml +++ b/tests/resources/test-pipeline-with-custom-pip-server-run.yaml @@ -24,7 +24,7 @@ deploymentSpec: - "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\ \ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\ \ python3 -m pip install --quiet --no-warn-script-location --index-url https://nginx-service.test-pypiserver.svc.cluster.local/simple/\ - \ 'kfp==2.9.0' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ + \ 'kfp==2.10.0' '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\ 3.9\"' && python3 -m pip install --quiet --no-warn-script-location --index-url\ \ https://nginx-service.test-pypiserver.svc.cluster.local/simple/ 'numpy'\ \ && \"$0\" \"$@\"\n" @@ -66,4 +66,4 @@ root: Output: parameterType: STRING schemaVersion: 2.1.0 -sdkVersion: kfp-2.9.0 +sdkVersion: kfp-2.10.0