question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LightChain integration test is broken

See original GitHub issue

Some LightChain methods (e.g. get_canonical_block_by_number()) have been removed recently and now tests/p2p/test_lightchain_integration.py is broken.

Not sure if there’s a plan to add them back or if the functionality is being moved somewhere else

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gsalgadocommented, May 31, 2018

The test is still broken, though. I’ll see if I can fix it now

1reaction
pipermerriamcommented, May 17, 2018

@carver yes, I dropped these with the knowledge that we’ll need to create that custom chain class which has access to the headerdb and the networking object.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to break integration test when Spring context initializaiton ...
All my tests share the same Spring configuration. It works effectively because context is started once and reused. Whole test suite completes in ......
Read more >
Following & Understanding Your Free Light Chain Test Results
Presented by:Frank CourjalDirector, Scientific AffairsThe Binding SiteQuebec City, Quebec.
Read more >
Integration tests written with Jest are broken when ZeroMQ.js ...
After that integration tests written with Jest are broken. Here is output sample of my CI pipeline: $ yarn test:integration yarn run v1.19.1...
Read more >
Integrated Tests Are A Scam - The Code Whisperer
Integrated tests won't kill you, although the scam remains a problem. ... you use in the broken code path now work correctly together....
Read more >
Getting Integration Testing Right - Semaphore CI
An integration test verifies components' interaction with the external system (database, message queue, etc.). Integration tests may affect each ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found