Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongyeon committed Jun 19, 2024
1 parent 74d89f6 commit 9f6148d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ public void testTransactionSinkAndUpsert(TestContainer container)
@TestTemplate
public void testMongodbDoubleValue(TestContainer container)
throws IOException, InterruptedException {
Container.ExecResult insertResult = container.executeJob("/mongodb_double_value.conf");
Assertions.assertEquals(0, insertResult.getExitCode(), insertResult.getStderr());
Container.ExecResult assertSinkResult = container.executeJob("/mongodb_double_value.conf");
Assertions.assertEquals(0, assertSinkResult.getExitCode(), assertSinkResult.getStderr());

Assertions.assertIterableEquals(
TEST_DOUBLE_DATASET.stream()
Expand All @@ -235,7 +235,6 @@ public void testMongodbDoubleValue(TestContainer container)
readMongodbData(MONGODB_DOUBLE_TABLE_RESULT).stream()
.peek(e -> e.remove("_id"))
.collect(Collectors.toList()));
clearDate(MONGODB_DOUBLE_TABLE);
clearDate(MONGODB_DOUBLE_TABLE_RESULT);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
env {
parallelism = 1
job.mode = "BATCH"
# Never retries in test
job.retry.times = 0
#spark config
spark.app.name = "SeaTunnel"
spark.executor.instances = 1
Expand Down

0 comments on commit 9f6148d

Please sign in to comment.