Skip to content

Fix regtest: "will get an event when the tip is new" #164

@braydonf

Description

@braydonf

Test will randomly fail because of the way that events for tips are announced, e.g. every second (instead of exactly when the tip changes:

  1) Daemon Binding Functionality tip updates will get an event when the tip is new:
      + expected - actual
      +151
      -150
      at Daemon.<anonymous> (/home/travis/build/bitpay/bitcore-node/integration/regtest.js:260:23)
      at Daemon.emit (events.js:107:17)
      at onTipUpdateListener (/home/travis/build/bitpay/bitcore-node/lib/daemon.js:74:16)

https://travis-ci.org/bitpay/bitcore-node/builds/77703908

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions