Commit 90f9975d369cb5222f53f1659971584f1d28171d
remove log
Signed-off-by: wanderer <mjbecze@gmail.com>wanderer committed on 10/16/2017, 2:31:18 AM
Parent: ac68be8cfe7673e7790cb08861be2063239fa244
Files changed
kernel.js | changed |
scheduler.js | changed |
tests/index.js | changed |
kernel.js | ||
---|---|---|
@@ -94,9 +94,8 @@ | ||
94 | 94 … | let result |
95 | 95 … | try { |
96 | 96 … | result = await this.container[method](message) |
97 | 97 … | } catch (e) { |
98 | - console.log(e) | |
99 | 98 … | result = { |
100 | 99 … | exception: true, |
101 | 100 … | exceptionError: e |
102 | 101 … | } |
scheduler.js | ||
---|---|---|
@@ -3,9 +3,9 @@ | ||
3 | 3 … | const LockMap = require('lockmap') |
4 | 4 … | |
5 | 5 … | module.exports = class Scheduler { |
6 | 6 … | /** |
7 | - * The Sceduler manages the run cycle of the containes and figures out which | |
7 … | + * The Scheduler manages the run cycle of the containers and figures out which | |
8 | 8 … | * order they should run in |
9 | 9 … | */ |
10 | 10 … | constructor () { |
11 | 11 … | this._waits = [] |
tests/index.js | |||
---|---|---|---|
@@ -67,10 +67,8 @@ | |||
67 | 67 … | rootContainer.send(portRef1, message) | |
68 | 68 … | ]) | |
69 | 69 … | rootContainer.shutdown() | |
70 | 70 … | ||
71 | - // await hypervisor.graph.tree(stateRoot, Infinity, true) | ||
72 | - // console.log(JSON.stringify(hypervisor.tree.root, null, 2)) | ||
73 | 71 … | const stateRoot = await hypervisor.createStateRoot(Infinity) | |
74 | 72 … | t.deepEquals(stateRoot, expectedState, 'expected root!') | |
75 | 73 … | ||
76 | 74 … | t.equals(hypervisor.scheduler.leastNumberOfTicks(), 0) | |
@@ -265,9 +263,9 @@ | |||
265 | 263 … | const stateRoot = await hypervisor.createStateRoot() | |
266 | 264 … | ||
267 | 265 … | t.deepEquals(stateRoot, { | |
268 | 266 … | '/': Buffer.from('308b10121e2c46102e2d9701cfe11032786ef955', 'hex') | |
269 | - }, ')should revert the state') | ||
267 … | + }, 'should revert the state') | ||
270 | 268 … | }) | |
271 | 269 … | ||
272 | 270 … | tape('recieving older messages', async t => { | |
273 | 271 … | t.plan(2) |
Built with git-ssb-web