Skip to content
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

Test unit test fixes #3

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Test unit test fixes #3

wants to merge 30 commits into from

Conversation

lucienlu-aws
Copy link
Collaborator

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

furq-aws and others added 22 commits October 31, 2024 14:11
…ed annotation.

Re-add missing unit tests from merge.
…figs, refactor enums, and update documentation

This is a squash of commits a144dfa through 4185f6e.
Remove few more deprecated methods

Also did minor changes in DynamoDBLeaseRefresherTest
1. remove LeaderDecider.isAnyLeaderElected - this was needed for archiver migration
   not needed for public changes which does auto flip based migration
2. Make DeterministicShuffleShardSyncLeaderDecider package scope - this was also
   made public scope for archiver migration, not needed for public repo.
There is no migration test currently with embedded ddb
But we do test Lease refresher with embedded ddb that when
createGSI and waitForGSIToBeActive is invoked it creates-but-not-wait
and waits-for-gsi-to-be-active respectively. So its good enough
to ensure those APIs are invoked from migration state machine.
So just added a few more verifications to existing tests.
@chenylee-aws chenylee-aws deleted the kclv3-off-master branch November 6, 2024 01:17
@lucienlu-aws lucienlu-aws restored the kclv3-off-master branch November 6, 2024 01:19
@lucienlu-aws lucienlu-aws reopened this Nov 6, 2024
akidambisrinivasan and others added 5 commits November 5, 2024 19:35
Dont use jitter for periodic scheduling, just for start time
of the clientVersionChangeMonitor so that the metrics looks
more consistent
Using initial delay as interval + jitter so during state transition
the metrics wont be double emitted. only down side is that during
startup the metrics will be delayed by upto 1.5 mins, which is not
too bad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants