Skip to content

[PLUGIN-1807] Implement Program Failure Exception Handling in GCS sink plugins to catch known errors #3470

[PLUGIN-1807] Implement Program Failure Exception Handling in GCS sink plugins to catch known errors

[PLUGIN-1807] Implement Program Failure Exception Handling in GCS sink plugins to catch known errors #3470

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Build Test Report failed Sep 17, 2024 in 0s

608 tests run, 597 passed, 10 skipped, 1 failed.

Annotations

Check failure on line 242 in DataPlexOutputFormatProviderTest

See this annotation in the file changed.

@github-actions github-actions / Build Test Report

DataPlexOutputFormatProviderTest.testGetRecordWriterWithDifferentDataset

unexpected exception type thrown; expected:<java.io.IOException> but was:<io.cdap.cdap.api.exception.ProgramFailureException>
Raw output
java.lang.AssertionError: unexpected exception type thrown; expected:<java.io.IOException> but was:<io.cdap.cdap.api.exception.ProgramFailureException>
	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2101)
	at io.cdap.plugin.gcp.gcs.sink.GCSOutputFormatProvider$GCSOutputFormat.getDelegateFormatInstance(GCSOutputFormatProvider.java:65)
	at io.cdap.plugin.gcp.gcs.sink.GCSOutputFormatProvider$GCSOutputFormat.getRecordWriter(GCSOutputFormatProvider.java:77)
	at io.cdap.plugin.gcp.dataplex.sink.DataplexOutputFormatProvider$DataplexOutputFormat.getRecordWriter(DataplexOutputFormatProvider.java:126)
	at io.cdap.plugin.gcp.dataplex.sink.DataPlexOutputFormatProviderTest.lambda$testGetRecordWriterWithDifferentDataset$4(DataPlexOutputFormatProviderTest.java:242)