File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,12 @@ jobs:
109
109
- name : Forward API port
110
110
run : ./.github/resources/scripts/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888
111
111
112
+ - name : Forward MySQL port
113
+ run : ./.github/resources/scripts/forward-port.sh "kubeflow" "mysql" 3306 3306
114
+
112
115
- name : API integration tests v1
113
116
working-directory : ./backend/test/integration
114
- run : go test -v ./... -namespace ${NAMESPACE} -args -runIntegrationTests=true
117
+ run : go test -v ./... -namespace kubeflow -args -runIntegrationTests=true
115
118
116
119
- name : Collect test results
117
120
if : always()
@@ -145,7 +148,7 @@ jobs:
145
148
146
149
- name : API integration tests v2
147
150
working-directory : ./backend/test/v2/integration
148
- run : go test -v ./... -namespace ${NAMESPACE} -args -runIntegrationTests=true
151
+ run : go test -v ./... -namespace kubeflow -args -runIntegrationTests=true
149
152
150
153
- name : Collect test results
151
154
if : always()
Original file line number Diff line number Diff line change @@ -33,18 +33,21 @@ jobs:
33
33
with :
34
34
k8s_version : ${{ matrix.k8s_version }}
35
35
36
+ - name : Forward API port
37
+ run : ./.github/resources/scripts/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888
38
+
36
39
- name : Prepare upgrade tests
37
40
working-directory : backend/test/integration
38
- run : go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Prepare
41
+ run : go test -v ./... -namespace kubeflow -args -runUpgradeTests=true -testify.m=Prepare
39
42
40
43
- name : Prepare verification tests
41
44
working-directory : backend/test/integration
42
- run : go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Verify
45
+ run : go test -v ./... -namespace kubeflow -args -runUpgradeTests=true -testify.m=Verify
43
46
44
47
- name : Prepare upgrade tests v2
45
48
working-directory : backend/test/v2/integration/
46
- run : go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Prepare
49
+ run : go test -v ./... -namespace kubeflow -args -runUpgradeTests=true -testify.m=Prepare
47
50
48
51
- name : Prepare verification tests v2
49
52
working-directory : backend/test/v2/integration
50
- run : go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Verify
53
+ run : go test -v ./... -namespace kubeflow -args -runUpgradeTests=true -testify.m=Verify
Original file line number Diff line number Diff line change @@ -48,9 +48,7 @@ func (s *DBTestSuite) TestInitDBClient_MySQL() {
48
48
viper .Set ("DBDriverName" , "mysql" )
49
49
viper .Set ("DBConfig.MySQLConfig.DBName" , "mlpipeline" )
50
50
// The default port-forwarding IP address that test uses is different compared to production
51
- if * localTest {
52
- viper .Set ("DBConfig.MySQLConfig.Host" , "localhost" )
53
- }
51
+ viper .Set ("DBConfig.MySQLConfig.Host" , "localhost" )
54
52
duration , _ := time .ParseDuration ("1m" )
55
53
db := cm .InitDBClient (duration )
56
54
assert .NotNil (t , db )
You can’t perform that action at this time.
0 commit comments