Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
LsomeYeah committed Dec 9, 2024
1 parent 2367f61 commit ec9dadc
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@
import org.apache.flink.table.api.internal.TableEnvironmentImpl;
import org.apache.flink.types.Row;
import org.assertj.core.api.Assertions;
import org.junit.Rule;
import org.junit.Test;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import org.junit.rules.TemporaryFolder;
import org.junit.runner.RunWith;

import java.util.Arrays;
Expand All @@ -41,6 +44,7 @@
/** IT cases for migrating iceberg table to paimon table. */
@RunWith(PaimonEmbeddedHiveRunner.class)
public abstract class MigrateIcebergTableProcedureITCase {
@Rule public TemporaryFolder folder = new TemporaryFolder();

@TempDir private java.nio.file.Path iceTempDir;
@TempDir private java.nio.file.Path paiTempDir;
Expand All @@ -52,6 +56,9 @@ private static Stream<Arguments> testIcebergArguments() {
return Stream.of(Arguments.of(true, false), Arguments.of(false, false));
}

@Test
public void initTest() {}

@ParameterizedTest
@MethodSource("testIcebergArguments")
public void testMigrateIcebergUnPartitionedTable(boolean isPartitioned, boolean isHive)
Expand Down

0 comments on commit ec9dadc

Please sign in to comment.