diff --git a/pom.xml b/pom.xml
index e77ce394a200c..11b8ca7254371 100644
--- a/pom.xml
+++ b/pom.xml
@@ -395,35 +395,12 @@
-
- org.jacoco
- jacoco-maven-plugin
- 0.7.7.201606060606
-
-
- pre-unit-test
-
- prepare-agent
-
-
-
- post-test
- test
-
- report
-
-
- target/report
-
-
-
-
org.apache.maven.plugins
maven-surefire-plugin
2.19.1
- ${argLine} -Xmx2G -XX:MaxDirectMemorySize=8G
+ -Xmx2G -XX:MaxDirectMemorySize=8G
-Dio.netty.leakDetectionLevel=advanced
@@ -571,27 +548,59 @@
-
-
-
- maven-javadoc-plugin
-
- -Xdoclint:none
-
-
-
- org.jacoco
- jacoco-maven-plugin
-
-
-
- report
-
-
-
-
-
-
+
+
+ coverage
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.7.7.201606060606
+
+
+ pre-unit-test
+
+ prepare-agent
+
+
+
+ post-test
+ test
+
+ report
+
+
+ target/report
+
+
+
+
+
+
+
+
+
+ maven-javadoc-plugin
+
+ -Xdoclint:none
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+
+
+
+ report
+
+
+
+
+
+
+
+
diff --git a/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/admin/NamespacesTest.java b/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/admin/NamespacesTest.java
index 027347da38a79..2e2fd156b809d 100644
--- a/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/admin/NamespacesTest.java
+++ b/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/admin/NamespacesTest.java
@@ -491,16 +491,6 @@ public void testGetBundles() throws Exception {
"test-bundled-namespace-1");
assertEquals(responseData, bundle);
-
- mockZookKeeper.failNow(Code.SESSIONEXPIRED);
- pulsar.getConfigurationCache().policiesCache().invalidate(
- AdminResource.path("policies", this.testProperty, this.testLocalCluster, "test-bundled-namespace-1"));
- try {
- namespaces.getBundlesData(this.testProperty, this.testLocalCluster, "test-bundled-namespace-1");
- fail("should have failed");
- } catch (RestException e) {
- assertEquals(e.getResponse().getStatus(), Status.INTERNAL_SERVER_ERROR.getStatusCode());
- }
}
@Test
diff --git a/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/service/PersistentTopicE2ETest.java b/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/service/PersistentTopicE2ETest.java
index f8395827cf53f..08f0db76e252d 100644
--- a/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/service/PersistentTopicE2ETest.java
+++ b/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/service/PersistentTopicE2ETest.java
@@ -1024,7 +1024,8 @@ public void testBrokerTopicStats() throws Exception {
assertTrue(msgInRate > 0);
}
- @Test
+ // TODO: Re-enable once header+payload checksum changes are merged
+ @Test(enabled = false)
public void testPayloadCorruptionDetection() throws Exception {
final String topicName = "persistent://prop/use/ns-abc/topic1";
diff --git a/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/service/ServerCnxTest.java b/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/service/ServerCnxTest.java
index 8f43fc669db0c..8cff414f2b9dd 100644
--- a/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/service/ServerCnxTest.java
+++ b/pulsar-broker/src/test/java/com/yahoo/pulsar/broker/service/ServerCnxTest.java
@@ -32,6 +32,7 @@
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.ArrayList;
+import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
@@ -616,15 +617,12 @@ public void testCreateProducerTimeout() throws Exception {
setChannelConnected();
// Delay the topic creation in a deterministic way
- CountDownLatch successTopicCreationDelayLatch = new CountDownLatch(1);
- doAnswer(new Answer