Skip to content

Commit

Permalink
added oldest test
Browse files Browse the repository at this point in the history
  • Loading branch information
wanderer committed Jul 6, 2017
1 parent f25a4c6 commit 77e1226
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BaseContainer {

node.on('ready', () => {
tape('basic', async t => {
t.plan(2)
t.plan(3)
let message
const expectedState = {
'/': 'zdpuB1wc9Pb6jUzfNt4nAxAEUxB7kNhg4vbq7YLcEyBUb6iAB'
Expand Down Expand Up @@ -53,6 +53,7 @@ node.on('ready', () => {

const stateRoot = await hypervisor.createStateRoot(Infinity)
t.deepEquals(stateRoot, expectedState, 'expected root!')
t.equals(hypervisor.scheduler.oldest(), 0)
})

tape('basic - do not store containers with no ports bound', async t => {
Expand Down

0 comments on commit 77e1226

Please sign in to comment.