Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add E2E tests which verifies that Scheduler can clear offline peer metadata when the host exits normally/abnormally. #3523

Closed
BruceAko opened this issue Sep 22, 2024 · 0 comments · Fixed by #3524
Labels
enhancement New feature or request

Comments

@BruceAko
Copy link
Contributor

BruceAko commented Sep 22, 2024

Feature request:

Earlier we have added functionality so that hosts send LeaveHost() requests to the Scheduler on normal exit and hosts on abnormal exit are also sensed by the Scheduler GC after a set amount of time and the metadata is cleared. Now, we are going to add E2E tests to verify that this functionality is correct.

Use case:

Verifies that Scheduler can clear offline peer metadata when the host exits normally/abnormally.

Steps:

  1. Get the number of all hosts in the scheduler.
  2. After a normal exit of a host, verify that the number of hosts in the scheduler decreases by 1.
  3. After an abnormal exit of a host, verify that the number of hosts in the scheduler decreases by 1 after twice the announce host interval.
@BruceAko BruceAko added the enhancement New feature or request label Sep 22, 2024
@BruceAko BruceAko changed the title Add E2E tests which verifies that Scheduler can clear offline peer metadata when Host exits normally/abnormally. Add E2E tests which verifies that Scheduler can clear offline peer metadata when the host exits normally/abnormally. Sep 22, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant