Conversation
|
petruki
added a commit
that referenced
this pull request
May 27, 2026
* chore(tests): updated timed tests and other code smells * fix(test): removed unused import
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



This pull request primarily updates the documentation and test code to standardize the use of placeholder values and to migrate tests from the
Switchersclass to the newSwitchersBaseclass. It also improves test reliability by using a utility function to wait for snapshot updates instead of fixed delays.Key changes include:
Documentation and Placeholder Updates:
README.mdand code comments to use consistent placeholder values ([API_KEY],[DOMAIN_NAME],[COMPONENT_NAME]) instead of hardcoded or example strings for configuration properties and code samples. [1] [2] [3] [4] [5] [6]Test Refactoring to SwitchersBase:
Switchersclass toSwitchersBasein several test files, updating configuration and switcher retrieval accordingly. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]Test Configuration and Consistency:
Test Reliability Improvements:
waitcalls with a utility function (CountDownHelper.waitUntil) to more reliably wait for snapshot version updates in snapshot auto-update tests. [1] [2] [3] [4] [5]