From 481898276b1c3d52729ef635d9c7618a39f298f2 Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Mon, 13 Nov 2017 15:00:38 +0100
Subject: [PATCH] [test] always define nbCores in pow integration tests

---
 test/integration/branches_revert2.js     | 1 +
 test/integration/register-fork-blocks.js | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/test/integration/branches_revert2.js b/test/integration/branches_revert2.js
index 9800c3ad7..511b55c41 100644
--- a/test/integration/branches_revert2.js
+++ b/test/integration/branches_revert2.js
@@ -23,6 +23,7 @@ const MEMORY_MODE = true;
 const commonConf = {
   ipv4: '127.0.0.1',
   currency: 'bb',
+  nbCores:1,
   httpLogs: true,
   forksize: 3,
   sigQty: 1
diff --git a/test/integration/register-fork-blocks.js b/test/integration/register-fork-blocks.js
index cf1faf59b..09c02dfff 100644
--- a/test/integration/register-fork-blocks.js
+++ b/test/integration/register-fork-blocks.js
@@ -20,6 +20,7 @@ describe("Fork blocks", function() {
     s1 = toolbox.server({
 
       // The common conf
+      nbCores:1,
       medianTimeBlocks: 1,
       avgGenTime: 11,
       udTime0: now,
@@ -35,6 +36,7 @@ describe("Fork blocks", function() {
     s2 = toolbox.server({
 
       // Particular conf
+      nbCores:1,
       switchOnHeadAdvance: 5,
       forksize,
 
@@ -47,6 +49,7 @@ describe("Fork blocks", function() {
     s3 = toolbox.server({
 
       // Particular conf
+      nbCores:1,
       switchOnHeadAdvance: 5,
       forksize,
 
-- 
GitLab