Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Register delegate with 2nd passphrase e2e test sometimes fail #632

Closed
slaweet opened this issue Aug 22, 2017 · 0 comments
Closed

Register delegate with 2nd passphrase e2e test sometimes fail #632

slaweet opened this issue Aug 22, 2017 · 0 comments
Assignees

Comments

@slaweet
Copy link
Contributor

slaweet commented Aug 22, 2017

Expected behaviour

E2e tests shoul be stable

Actual behaviour

This test sometimes fails:
screen shot 2017-08-21 at 7 01 41 pm

I suspect that the problem is that the transaction that registers the second passphrase for the account used in the test (sent in e2e-test-setup.sh) is not processed yet. It depends on the mutual timing of:

  • launching e2e tests
  • block being forged

The easy fix would be to increase the sleep in e2e-test-setup.sh.
But the setup would be faster to use the snapshot used for e2e tests in Explorer.
https://github.com/LiskHQ/lisk-explorer/blob/4d3735f5cf964ae91005b064b883c8dd768bcab8/e2e-test-setup.sh#L11

The snapshot should have all transactions used in Nano e2e tests.

Steps to reproduce

Run e2e tests repeatedly until it happens

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant