-
Notifications
You must be signed in to change notification settings - Fork 246
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
[Deliverable] Improve tests in status-go related to chat functionalities #5738
Comments
@ilmotta @iurimatias @igor-sirotin @fbarbu15 Let me know your opinion |
Overall sounds good 👍
I wouldn't rely on using particular shard, this kinda modifies the test vs. prod behaviour. |
I tend to prefer option
Maybe tests relying on the network could run in PRs, but they wouldn't work as stop gates? This could give devs insights into potential problems before merging. As long as these test errors are kind of human-readable, there are not too many of these tests, and they are relatively reliable. |
We probably need Status Dev or QA support here
VAC QA team can help here, we did similar stuff from nwaku, go-waku etc
Same here
We use a similar strategy in the the waku interop tests where we create a small network of nodes using docker containers before each test. That way we have good control on what each test will run on, able to easily run tests locally or on CI, extract node logs etc
We don't have much experience setting up and hosting such fleet. Maybe VAC DST team or some devops can better assist here
Agree, I think unit tests should mock it, while integration should use docker |
FYI: @fbarbu15 @igor-sirotin @ilmotta @anastasiyaig @antdanchenko @glitchminer List of chat functionallities we want to testThis is a list of chat functionallities we need to test in chat
communitiescreation
membership
messages
message testsThese are the high level types of messages that we can send in a chat, either 1:1, group or community chat
|
As stated here we want to:
Review and improve coverage of chat functionalities tests:
Review and remove the dependency of tests on external systems if appropriate (e.g.: Waku fleet).
In order not to depend on a waku fleet for the tests we have the following options:
staging.fleet
adding a shard reserved for tests only, this will mean that multiple run of tests will utilize the same fleet and shard; also we have to take into account possible hardcoded shards in status-go).The text was updated successfully, but these errors were encountered: