Replies: 2 comments 4 replies
-
The usage of docker compose as you mentioned above hard code the number of nodes ? Currently with the JSON we are more modular on this point. |
Beta Was this translation helpful? Give feedback.
-
Docker compose file are just yaml files (and yml support comments) and the format is nicely documented (https://docs.docker.com/compose/compose-file/compose-file-v3/). From what I see, there are a lots of advantages using docker compose like:
And docker compose is well supported by a lot of cloud providers like: |
Beta Was this translation helpful? Give feedback.
-
Intro
In order to better test our PR, we need drastic changes in the massa-network-simulator
Modifications (Docker)
Question: more nodes? 8?, other special configurations (perf monitoring)?
Modifications (Docker api)
Question: should we need dynamic configuration or scenario, we could improve it with Docstrings, no hard-coding, typing...
Python API (to deal with Public & Private API)
Add a generic and easy to use Python API to interact with Public & Private API. We have a basic skeleton in test_scripts/test.py
, but it has to be improved a lot
Python API 2 (High level functions to interact with a node)
Add an API to:
Some functions could be extracted from charge.py.
Functional tests
By leveraging our python API, we should implement functional tests that the end user (a developer) will run.
This functional tests should be implemented using a python test framework (unittest (in std) or pytest).
Note that these tests, should run whatever the scenario is (2, 4, 6 nodes...)
Minimum required unit tests:
Nice to have:
Other ideas:
Beta Was this translation helpful? Give feedback.
All reactions