Skip to content

Make expected failure message self-explanatory#17903

Merged
findepi merged 1 commit intomasterfrom
findepi/make-expected-failure-message-self-explanatory-2bb841
Jun 16, 2023
Merged

Make expected failure message self-explanatory#17903
findepi merged 1 commit intomasterfrom
findepi/make-expected-failure-message-self-explanatory-2bb841

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Jun 14, 2023

More close to how it was before
6729fed.

@findepi findepi added the test label Jun 14, 2023
@findepi findepi requested review from ebyhr and homar June 14, 2023 15:32
@cla-bot cla-bot bot added the cla-signed label Jun 14, 2023
@github-actions github-actions bot added the delta-lake Delta Lake connector label Jun 14, 2023
allFilesFromCdfDirectory = getAllFilesFromCdfDirectory(tableName);
assertThat(allFilesFromCdfDirectory).hasSizeBetween(1, 2);
assertQueryFails("SELECT * FROM TABLE(system.table_changes('test_schema', '" + tableName + "', 2))", "Error opening Hive split .*");
assertQueryFails("SELECT * FROM TABLE(system.table_changes('test_schema', '" + tableName + "', 2))", "Error opening Hive split.*/_change_data/.*The specified key does not exist.*");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes the message specific to S3.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! however, this test runs delta against s3, so i think it should be fine

@findepi
Copy link
Copy Markdown
Member Author

findepi commented Jun 16, 2023

CI #16315

@findepi findepi merged commit 73e0550 into master Jun 16, 2023
@findepi findepi deleted the findepi/make-expected-failure-message-self-explanatory-2bb841 branch June 16, 2023 12:54
@github-actions github-actions bot added this to the 420 milestone Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants