Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liunaijie committed Jun 25, 2024
1 parent 8afc1d1 commit 7462467
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public class ResourceIsolationIT extends TestSuiteBase {
@TestTemplate
public void testTagMatch(TestContainer container) throws IOException, InterruptedException {
Container.ExecResult execResult =
container.executeJob("resource-isolation/fakesource_to_console.conf");
container.executeJob("/resource-isolation/fakesource_to_console.conf");
Assertions.assertEquals(0, execResult.getExitCode());
}

@TestTemplate
public void testTagNotMatch(TestContainer container) throws IOException, InterruptedException {
Container.ExecResult execResult =
container.executeJob("resource-isolation/fakesource_to_console_tag_not_match.conf");
container.executeJob("/resource-isolation/fakesource_to_console_tag_not_match.conf");
Assertions.assertNotEquals(0, execResult.getExitCode());
Assertions.assertTrue(
StringUtils.isNotBlank(execResult.getStderr())
Expand Down

0 comments on commit 7462467

Please sign in to comment.