Skip to content

Commit 29a5f3d

Browse files
committed
Update E2E
1 parent fa9635e commit 29a5f3d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

cloudsql-mysql-plugin/src/e2e-test/features/sink/CloudMySqlRunTimeMacro.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ Feature: CloudMySql Sink - Run time scenarios (macro)
142142
Then Enter runtime argument value "invalidTablename" for key "invalidTablename"
143143
Then Run the Pipeline in Runtime with runtime arguments
144144
Then Wait till pipeline is in running state
145+
And Open and capture logs
145146
And Verify the pipeline status is "Failed"
147+
And Close the pipeline logs
146148
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
147149
| Level | Message |
148150
| ERROR | errorLogsMessageInvalidTableName |
@@ -181,7 +183,9 @@ Feature: CloudMySql Sink - Run time scenarios (macro)
181183
Then Enter runtime argument value "invalidPassword" for key "Password"
182184
Then Run the Pipeline in Runtime with runtime arguments
183185
Then Wait till pipeline is in running state
186+
And Open and capture logs
184187
And Verify the pipeline status is "Failed"
188+
And Close the pipeline logs
185189
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
186190
| Level | Message |
187191
| ERROR | errorLogsMessageInvalidCredentials |

cloudsql-mysql-plugin/src/e2e-test/features/source/CloudMySqlRunTime.feature

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ Feature: CloudMySql Source - Run time scenarios
224224
Then Deploy the pipeline
225225
Then Run the Pipeline in Runtime
226226
Then Wait till pipeline is in running state
227+
And Open and capture logs
227228
And Verify the pipeline status is "Failed"
229+
And Close the pipeline logs
228230
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
229231
| Level | Message |
230232
| ERROR | errorLogsMessageInvalidBoundingQuery |

0 commit comments

Comments
 (0)