Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hailin0 committed Jul 19, 2024
1 parent a3b91d1 commit fa64564
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,4 @@ public void testJobFailedWillThrowException() throws IOException, InterruptedExc
.contains(
"org.apache.seatunnel.engine.server.resourcemanager.NoEnoughResourceException"));
}

@Test
public void testSinkPlaceholder() throws IOException, InterruptedException {
Container.ExecResult execResult =
executeSeaTunnelJob("/fake_to_inmemory_with_sink_placeholder.conf");
Assertions.assertNotEquals(0, execResult.getExitCode());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.seatunnel.engine.e2e;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.testcontainers.containers.Container;

import java.io.IOException;

public class SinkPlaceholderIT extends SeaTunnelContainer {

@Test
public void testSinkPlaceholder() throws IOException, InterruptedException {
Container.ExecResult execResult =
executeSeaTunnelJob("/fake_to_inmemory_with_sink_placeholder.conf");
Assertions.assertNotEquals(0, execResult.getExitCode());
}
}

0 comments on commit fa64564

Please sign in to comment.