[ISSUE-465][Bug] Common module scalatest style unit test don't actually run (#472)

This commit is contained in:
nafiy 2022-08-28 18:52:39 +08:00 committed by GitHub
parent 555c938d70
commit 6d308eb4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

View File

@ -153,6 +153,15 @@
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
<configuration>
<parallel>false</parallel>
<forkMode>once</forkMode>
<argLine>-Xmx2048m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>

View File

@ -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)
}
}

View File

@ -114,6 +114,11 @@
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
<configuration>
<parallel>false</parallel>
<forkMode>once</forkMode>
<argLine>-Xmx2048m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>