-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Streamline Data Provider execution #3092
Conversation
Warning Rate Limit Exceeded@krmahadevan has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 14 minutes and 34 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. WalkthroughThese changes focus on enhancing parallel test execution and data provider usage with method interceptors in the TestNG framework. They address issues related to shared thread pool discrepancies, method interception, and prioritization of test methods. Additionally, a new class Changes
Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (8)
- CHANGES.txt (1 hunks)
- testng-core/src/main/java/org/testng/internal/invokers/MethodRunner.java (3 hunks)
- testng-core/src/main/java/org/testng/internal/invokers/TestMethodWithDataProviderMethodWorker.java (2 hunks)
- testng-core/src/main/java/org/testng/thread/Async.java (1 hunks)
- testng-core/src/test/java/test/dataprovider/DataProviderTest.java (2 hunks)
- testng-core/src/test/java/test/dataprovider/issue3081/NoOpMethodInterceptor.java (1 hunks)
- testng-core/src/test/java/test/dataprovider/issue3081/TestClassSample.java (1 hunks)
- testng-core/src/test/java/test/dataprovider/issue3081/TestClassWithPrioritiesSample.java (1 hunks)
Files skipped from review as they are similar to previous changes (8)
- CHANGES.txt
- testng-core/src/main/java/org/testng/internal/invokers/MethodRunner.java
- testng-core/src/main/java/org/testng/internal/invokers/TestMethodWithDataProviderMethodWorker.java
- testng-core/src/main/java/org/testng/thread/Async.java
- testng-core/src/test/java/test/dataprovider/DataProviderTest.java
- testng-core/src/test/java/test/dataprovider/issue3081/NoOpMethodInterceptor.java
- testng-core/src/test/java/test/dataprovider/issue3081/TestClassSample.java
- testng-core/src/test/java/test/dataprovider/issue3081/TestClassWithPrioritiesSample.java
Closes #3081
Fixes #3081 .
Did you remember to?
CHANGES.txt
./gradlew autostyleApply
We encourage pull requests that:
If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.
Note: For more information on contribution guidelines please make sure you refer our Contributing section for detailed set of steps.
Summary by CodeRabbit
New Features
Async
class for executing tasks asynchronously, enhancing test execution efficiency.TestMethodWithDataProviderMethodWorker
for prioritizing test methods.Bug Fixes
Tests
Documentation
Refactor