mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-24 16:04:00 +08:00
[Infra Improvement] Build And Run Unit Tests in Parallel (#4878)
* Support build with Bazel (#4865) * Support build with Bazel, fixing tests to make them capable of running in concurrency and hermetic. * Make test cases capable of running in parallel. (#4874)
This commit is contained in:
+3
-2
@@ -54,8 +54,9 @@ public class DLedgerControllerTest {
|
||||
private List<String> baseDirs;
|
||||
private List<DLedgerController> controllers;
|
||||
|
||||
public DLedgerController launchController(final String group, final String peers, final String selfId, String storeType, final boolean isEnableElectUncleanMaster) {
|
||||
final String path = "/tmp" + File.separator + group + File.separator + selfId;
|
||||
public DLedgerController launchController(final String group, final String peers, final String selfId,
|
||||
String storeType, final boolean isEnableElectUncleanMaster) {
|
||||
final String path = System.getProperty("java.io.tmpdir") + File.separator + group + File.separator + selfId;
|
||||
baseDirs.add(path);
|
||||
|
||||
final ControllerConfig config = new ControllerConfig();
|
||||
|
||||
Reference in New Issue
Block a user