Skip to content

Commit 692dfcd

Browse files
Merge pull request #1462 from cloudsufi/GCS-cloudbuild-fixes
GCS cloudbuild e2e fixes
2 parents 601f62b + 52dbbfe commit 692dfcd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/e2e-test/features/gcs/source/GCSToGCSAdditonalTests.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ Feature: GCS source - Verification of GCS to GCS Additional Tests successful
266266
Then Deploy the pipeline
267267
Then Run the Pipeline in Runtime
268268
Then Wait till pipeline is in running state
269+
Then Open and capture logs
269270
And Verify the pipeline status is "Failed"
271+
Then Close the pipeline logs
270272
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
271273
| Level | Message |
272274
| ERROR | errorMessageMultipleFileWithFirstRowAsHeaderEnabled |
@@ -300,7 +302,9 @@ Feature: GCS source - Verification of GCS to GCS Additional Tests successful
300302
Then Deploy the pipeline
301303
Then Run the Pipeline in Runtime
302304
Then Wait till pipeline is in running state
305+
Then Open and capture logs
303306
And Verify the pipeline status is "Failed"
307+
Then Close the pipeline logs
304308
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
305309
| Level | Message |
306310
| ERROR | errorMessageMultipleFileWithoutClearDefaultSchema |

src/e2e-test/resources/errorMessage.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ errorMessageInvalidBucketName=Invalid bucket name in path
2828
errorMessageInvalidFormat=Input has multi-level structure that cannot be represented appropriately as csv. \
2929
Consider using json, avro or parquet to write data.
3030
errorMessageMultipleFileWithFirstRowAsHeaderDisabled=Spark program 'phase-1' failed with error: Found a row with 6 fields when the schema only contains 4 fields. Check that the schema contains the right number of fields.. Please check the system logs for more details.
31-
errorMessageMultipleFileWithFirstRowAsHeaderEnabled=Spark program 'phase-1' failed with error: For input string:
32-
errorMessageMultipleFileWithoutClearDefaultSchema=Spark program 'phase-1' failed with error: Found a row with 4 fields when the schema only contains 2 fields.
31+
errorMessageMultipleFileWithFirstRowAsHeaderEnabled=Year of Jupyter
32+
errorMessageMultipleFileWithoutClearDefaultSchema=Found a row with 4 fields when the schema only contains 2 fields
3333
errorMessageInvalidSourcePath=Invalid bucket name in path 'abc@'. Bucket name should
3434
errorMessageInvalidDestPath=Invalid bucket name in path 'abc@'. Bucket name should
3535
errorMessageInvalidEncryptionKey=CryptoKeyName.parse: formattedString not in valid format: Parameter "abc@" must be

0 commit comments

Comments
 (0)