• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Cryptonomic / Conseil / 3744
65%

Build:
DEFAULT BRANCH: master
Ran 29 Sep 2020 04:05PM UTC
Jobs 1
Files 116
Run time 20s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3744

push

travis-ci

web-flow
187-3 fork handling simulation (#898)

* Refactor to block level as 64-bit int value, fix all tests

 * correct all database types for level as bigint
 * correct all code modeling levels to use the new alias
 * give an explicit class to BlockReference for better matching
 * simplify the node operator tests and add explanatory comments
 * add test case for loading blocks not indexed in db

* Resolve some leftovers

* Define the correction logic on forks, test simulated fork scenarios

 * define the fork amender to specify how fork inconsistencies are
   processed
 * implement the invalidating amender to specifically invalidate indexed
   data for tezos lorre
 * add a composite fork handler that operates both the detection and
   correction logic
 * define fork audit entries and test it
 * fix the test generation of tezos hash data
 * define a scalacheck stateful system spec for the overall fork
   handling

* Add missing tests for data invalidation

 * add db-schema changes to have deferrable fks
 * add constraints deferral to update fork columns in multiple tables
 * customize the InMemoryDB traits to restore pg-custom rules
 * factor out common code in the invalidation tests

* Rename a few types in the fork scenarios simulations

* Polish the PR and fix docs and details.

* Remove duplication of code in the database invalidation functions

 * add some log about random generation results during tests
 * fix an incorrect test

* Add local utilities to reduce duplication and verbosity of test

* Address PR review requests

2785 of 4058 relevant lines covered (68.63%)

0.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3744.1 29 Sep 2020 04:05PM UTC 0
68.63
Travis Job 3744.1
Source Files on build 3744
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3744
  • 0380c4ad on github
  • Prev Build on master (#3725)
  • Next Build on master (#3749)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc