Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

E2E tests for recovering client state after reconnection (#47) #52

Closed
wants to merge 974 commits into from

Conversation

evdokimovs
Copy link
Contributor

@evdokimovs evdokimovs commented Sep 23, 2019

Resolves #47

Part of #27

Required for #51

Depends on medea-e2e-tests and 47-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 via iptables rules. It is supposed to make a server that will add a rule for iptables which will close some port on API endpoints requests. To this port will be connected one of the Members. 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

  • Created PR:
    • In draft mode
    • Name contains Draft: prefix
    • Name contains issue reference
    • Has k:: labels applied
    • Has assignee
  • Documentation is updated (if required)
  • Tests are updated (if required)
  • Changes conform code style
  • CHANGELOG entry is added (if required)
  • FCM (final commit message) is posted
    • and approved
  • Review is completed and changes are approved
  • Before merge:
    • Milestone is set
    • PR's name and description are correct and up-to-date
    • Draft: prefix is removed
    • All temporary labels are removed

@tyranron tyranron force-pushed the master branch 7 times, most recently from 32a2aea to 6b50b36 Compare November 7, 2019 15:50
@tyranron tyranron changed the title WIP: E2E tests for recovering client state after reconnection (#47) Draft: E2E tests for recovering client state after reconnection (#47) Aug 24, 2020
@tyranron tyranron force-pushed the master branch 5 times, most recently from 10e5ade to 39716ed Compare February 1, 2021 15:51
@evdokimovs
Copy link
Contributor Author

See this comment.

@evdokimovs evdokimovs closed this Feb 8, 2021
@evdokimovs evdokimovs added the obsolete This issue is not relevant anymore label Feb 8, 2021
@tyranron tyranron changed the title Draft: E2E tests for recovering client state after reconnection (#47) E2E tests for recovering client state after reconnection (#47) Feb 9, 2021
@tyranron tyranron added the wontfix This will not be worked on label Feb 9, 2021
@tyranron tyranron deleted the 47-rpc-connection-loss-e2e-tests branch February 9, 2021 08:37
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recover state after RpcConnection reconnection
3 participants