Skip to content

Commit

Permalink
Increase the interval and timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolovison committed Nov 13, 2024
1 parent eea84a0 commit 061ac71
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/dspa_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions tests/experiments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})
}
4 changes: 2 additions & 2 deletions tests/resources/test-pipeline-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -77,4 +77,4 @@ root:
Output:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.9.0
sdkVersion: kfp-2.10.0
4 changes: 2 additions & 2 deletions tests/resources/test-pipeline-with-custom-pip-server-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -66,4 +66,4 @@ root:
Output:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.9.0
sdkVersion: kfp-2.10.0

0 comments on commit 061ac71

Please sign in to comment.