Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation tests dev roadmap #1356

Open
LePremierHomme opened this issue Dec 22, 2019 · 4 comments
Open

Simulation tests dev roadmap #1356

LePremierHomme opened this issue Dec 22, 2019 · 4 comments
Assignees

Comments

@LePremierHomme
Copy link
Contributor

@LePremierHomme LePremierHomme commented Dec 22, 2019

This issue is to track the simulation tests dev roadmap and discussions. Tasks are ordered by priority:

  • dockerize the simulation tests
  • debugging: allow easy access to individual lnd/xud/raiden nodes' native CLI to manually test things (ala ./xucli.sh bob/alice getinfo or ./lncli.sh bob/alice getinfo)
  • increase the feedback cycle by being able to run only 1 individual test
  • increase speed (possibly dockerize the ethereum chain to speed it up considerably. right now we're building a new chain -> deploying contracts on each test run)
  • stability: #1354
  • stability: #1315
  • coverage: #1208
  • coverage: #1040
  • coverage: #1016
  • code quality: #1310
@erkarl

This comment has been minimized.

Copy link
Collaborator

@erkarl erkarl commented Dec 23, 2019

For dockerizing the test environment a good first step would be to create a geth container from these scripts:
https://github.com/ExchangeUnion/xud/blob/master/test/simulation/install.sh#L6-L11

https://github.com/ExchangeUnion/xud/blob/master/test/simulation/install.sh#L9 should go into a separate raiden container.

@kilrau kilrau added this to To do in 1.0.0-beta.1 via automation Jan 8, 2020
@kilrau

This comment has been minimized.

Copy link
Contributor

@kilrau kilrau commented Jan 8, 2020

Regarding our discussion whether to integrate xud-docker into the dockerized similuation tests: let's hold off on this. While it will be somehow possible, I'm afraid that it'll set us back for quite some time. Getting e.g. geth and contracts dockerized and tests stable is prio #1.

Could you open a WIP PR so we can track status? @LePremierHomme

@kilrau

This comment has been minimized.

Copy link
Contributor

@kilrau kilrau commented Jan 8, 2020

I want to add one requirement though: it has to be easily possible to run the tests not only with different xud versions, but also the same way with different raiden & lnd versions. The raiden team should be able to use our tests for developing raiden the same way we use our tests for developing xud.

@kilrau

This comment has been minimized.

Copy link
Contributor

@kilrau kilrau commented Jan 10, 2020

As discussed on discord, we should also consider using bitcoind & litecoind regtest to replace btcd and especially ltcd. You can add this to the requirement list above @LePremierHomme

@kilrau kilrau removed this from To do in 1.0.0-beta.1 Jan 15, 2020
@kilrau kilrau added the P1 label Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.