Skip to content

Commit 844e322

Browse files
committed
GCS cloudbuild e2e fixes
1 parent a1a4049 commit 844e322

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Feature: GCS source - Verification of GCS to GCS Additional Tests successful
269269
And Verify the pipeline status is "Failed"
270270
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
271271
| Level | Message |
272-
| ERROR | errorMessageMultipleFileWithFirstRowAsHeaderEnabled |
272+
| WARN | errorMessageMultipleFileWithFirstRowAsHeaderEnabled |
273273

274274
@GCS_MULTIPLE_FILES_TEST @GCS_SINK_TEST @GCS_Source_Required @ITN_TEST
275275
Scenario: To verify the pipeline is getting failed from GCS to GCS when default schema is not cleared in GCS source On Multiple File

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=NumberFormatException
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)