git ssb

0+

wanderer🌟 / js-primea-hypervisor



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.jschanged
scheduler.jschanged
tests/index.jschanged
kernel.jsView
@@ -94,9 +94,8 @@
9494 let result
9595 try {
9696 result = await this.container[method](message)
9797 } catch (e) {
98- console.log(e)
9998 result = {
10099 exception: true,
101100 exceptionError: e
102101 }
scheduler.jsView
@@ -3,9 +3,9 @@
33 const LockMap = require('lockmap')
44
55 module.exports = class Scheduler {
66 /**
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
88 * order they should run in
99 */
1010 constructor () {
1111 this._waits = []
tests/index.jsView
@@ -67,10 +67,8 @@
6767 rootContainer.send(portRef1, message)
6868 ])
6969 rootContainer.shutdown()
7070
71- // await hypervisor.graph.tree(stateRoot, Infinity, true)
72- // console.log(JSON.stringify(hypervisor.tree.root, null, 2))
7371 const stateRoot = await hypervisor.createStateRoot(Infinity)
7472 t.deepEquals(stateRoot, expectedState, 'expected root!')
7573
7674 t.equals(hypervisor.scheduler.leastNumberOfTicks(), 0)
@@ -265,9 +263,9 @@
265263 const stateRoot = await hypervisor.createStateRoot()
266264
267265 t.deepEquals(stateRoot, {
268266 '/': Buffer.from('308b10121e2c46102e2d9701cfe11032786ef955', 'hex')
269- }, ')should revert the state')
267 + }, 'should revert the state')
270268 })
271269
272270 tape('recieving older messages', async t => {
273271 t.plan(2)

Built with git-ssb-web