-
Notifications
You must be signed in to change notification settings - Fork 19
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
Testing Methodology #43
Comments
Good work! I think it makes sense. Thank you a lot for this document Some questions: Test Utility
Test Scenarios
Need to define
Sorry I don't get what you mean here. Can you elaborate more?
My thought is to test with the docker image. So there is one
Agree. Currently, we use CLI to communicate with the running nodes. From the results we see what happens after every command. My thought is to change the result to be easier parsing, and therefore construct tests in shell scripts in the first step. Do you have any idea on any testing methodology in our case? btw. I modified your comment to fix the content of the URL of WhiteBlock. |
No, our platform is meant to accomodate for code. The idea is that code shouldn't need to accomodate for the platform. As long as it functions, we should be able to just throw it on the platform and get it going.
The ability to deploy a specified number of fully configured nodes based on the Dockerfile and apply some sort of scheduling logic if needed to this process. Our platform functions similarly to Kubernetes and other orchestration/infrastructure automation utilities. We developed a custom wrapper for Docker that was purpose built for blockchain specific containerization.
Can you please clarify your definition of network topology in this context? Part of the node deployment module includes the ability to assign nodes to independent VLANs and assigning IP addresses. This provides the ability to configure and control links between nodes (either individual links or the entirety of the network), such as implementing varying degrees of latency, bandwidth, packet loss, etc.
We can establish an automated workflow kind of like you would using Chef. Once we flush out definitions for each test case within the series, we can use these definitions to create a configuration file which allows for scheduling and automation.
Let's talk about this offline so we can brainstorm! |
I mean the topology of our overlay network, instead of the on in TCP/IP layer.
Get it. It makes sense. Thank you for the detailed explanation! |
Overview
The network is segmented into X number of shards. Every ~10 minutes, validators are randomly assigned to a shard, so the stress point is observing and testing the ability of validators to subscribe to new topics and send/receive messages pertaining to this new topic in an adequate amount of time.
Test Utility
We will perform tests using the Whiteblock testing platform. The following functionalities would likely be most relevant to this particular test series:
Test Scenarios
Need to Define
Other Notes
The text was updated successfully, but these errors were encountered: