merlimat closed pull request #2454: Fix compilation issue on CLITest URL: https://github.com/apache/incubator-pulsar/pull/2454
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/tests/integration/semantics/src/test/java/org/apache/pulsar/tests/integration/cli/CLITest.java b/tests/integration/semantics/src/test/java/org/apache/pulsar/tests/integration/cli/CLITest.java index 0f2163a199..d2cf6cfa26 100644 --- a/tests/integration/semantics/src/test/java/org/apache/pulsar/tests/integration/cli/CLITest.java +++ b/tests/integration/semantics/src/test/java/org/apache/pulsar/tests/integration/cli/CLITest.java @@ -167,7 +167,7 @@ public void testSchemaCLI() throws Exception { @Test public void testSetInfiniteRetention() throws Exception { - ContainerExecResult result; + ExecResult result; String namespace = "get-and-set-retention" + randomName(8); pulsarCluster.createNamespace(namespace); @@ -179,7 +179,6 @@ public void testSetInfiniteRetention() throws Exception { }; result = pulsarCluster.runAdminCommandOnAnyBroker(setCommand); - assertEquals(0, result.getExitCode()); assertTrue( result.getStdout().isEmpty(), result.getStdout() @@ -194,7 +193,6 @@ public void testSetInfiniteRetention() throws Exception { }; result = pulsarCluster.runAdminCommandOnAnyBroker(getCommand); - assertEquals(0, result.getExitCode()); assertTrue( result.getStdout().contains("\"retentionTimeInMinutes\" : -1"), result.getStdout()); ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services