Repository navigation
Flink: Migrate subclasses of FlinkCatalogTestBase to JUnit5 - #9381
Conversation
vinitpatni
commented
Dec 26, 2023
- Added junit 5 conversion and AssertJ style for TestFlinkCatalogTable and TestFlinkMetadataTable
… and TestFlinkMetaDataTable
| "Should have the expected columns", | ||
| ImmutableSet.of("data", "id"), | ||
| ImmutableSet.copyOf(uniqueConstraintOptional.get().getColumns())); | ||
| assertThat(uniqueConstraintOptional.isPresent()).isTrue(); |
…style for TestFlinkTableSink
…estRewriteDataFilesAction
|
|
@nastra TestStreamScanSql is the only subclass remaining for conversion to Junit 5 but it has dependency on GenericAppenderHelper class which is part of iceberg-data module. Let me know how to tackle that ? |
|
@vinitpatni the issue with |
|
I have done changes in TestStreamScanSql locally but running testcases on my local machine is taking lot of time. It is running indefinitely for this class. @nastra Do you have any idea ? |
@vinitpatni without seeing the changes for |
@nastra I tried to execute locally both junit 4 version (main branch version) as well as this version(junit5 one). These tests are running indefinitely for both of these versions |
nastra
left a comment
There was a problem hiding this comment.
almost ready to go, just 2 minor things to address
|
nastra
left a comment
There was a problem hiding this comment.
LGTM, thanks @vinitpatni. Could you also please remove FlinkCatalogTestBase as part of this PR as I don't think it's used anymore, since everything was converted.
Ack. Removed FlinkCatalogTestBase and its references |
nastra
left a comment
There was a problem hiding this comment.
thanks @vinitpatni for getting this done
…f FlinkCatalogTestBase to JUnit5
…f FlinkCatalogTestBase to JUnit5
…f FlinkCatalogTestBase to JUnit5
…f FlinkCatalogTestBase to JUnit5
…nkCatalogTestBase to JUnit5 (#9598)
…of FlinkCatalogTestBase to JUnit5 (apache#9598)
…of FlinkCatalogTestBase to JUnit5 (apache#9598)