This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
E2E tests for recovering client state after reconnection (#47) #52
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
problems in tests
32a2aea
to
6b50b36
Compare
10e5ade
to
39716ed
Compare
See this comment. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
feature
New feature or request
k::testing
Related to testing and/or automated tests
obsolete
This issue is not relevant anymore
wontfix
This will not be worked on
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #47
Part of #27
Required for #51
Depends on
medea-e2e-tests
and47-rpc-connection-loss
branches.Synopsis
We need E2E tests for logic of restoring
Member
's state after his reconnection.Solution
Tests will be done based on
medea-e2e-tests
branch. Connection loss will be emulated viaiptables
rules. It is supposed to make a server that will add a rule foriptables
which will close some port on API endpoints requests. To this port will be connected one of theMember
s. From this port will be configured redirection to the Medea's RPC port via nginx (maybe something better for this task will be found). Also,iptables
server will have mode in which the connection will be disconnected and restored at a random time (in a given range). This mode will be started/stopped by API endpoint calls.Checklist
Draft:
prefixk::
labels appliedDraft:
prefix is removed