diff --git a/common/pom.xml b/common/pom.xml
index 94f6c9f68..c5c5f949e 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -153,6 +153,15 @@
-Xmx1024m -XX:MaxPermSize=256m
+
+ org.scalatest
+ scalatest-maven-plugin
+
+ false
+ once
+ -Xmx2048m
+
+
org.xolstice.maven.plugins
protobuf-maven-plugin
diff --git a/common/src/test/scala/com/aliyun/emr/rss/common/meta/WorkerInfoSuite.scala b/common/src/test/scala/com/aliyun/emr/rss/common/meta/WorkerInfoSuite.scala
index d3eb503b2..eaf42ea82 100644
--- a/common/src/test/scala/com/aliyun/emr/rss/common/meta/WorkerInfoSuite.scala
+++ b/common/src/test/scala/com/aliyun/emr/rss/common/meta/WorkerInfoSuite.scala
@@ -149,6 +149,6 @@ class WorkerInfoSuite extends RssFunSuite {
test("WorkerInfo equals when numSlots different.") {
val worker1 = new WorkerInfo("h1", 10001, 10002, 10003, 1000, null, null)
val worker2 = new WorkerInfo("h1", 10001, 10002, 10003, 2000, null, null)
- assertEquals(worker1, worker2)
+ assertNotEquals(worker1, worker2)
}
}
diff --git a/server-master/pom.xml b/server-master/pom.xml
index db4ef8fd6..595773133 100644
--- a/server-master/pom.xml
+++ b/server-master/pom.xml
@@ -114,6 +114,11 @@
org.scalatest
scalatest-maven-plugin
+
+ false
+ once
+ -Xmx2048m
+
org.xolstice.maven.plugins