-
Notifications
You must be signed in to change notification settings - Fork 140
#2175 review unit tests and add exclusion cause #2198
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
Conversation
WalkthroughUpdated test suite exclusions in UnitTests, corrected a comment typo in WebsocketStompTest, and adjusted SSL keystore/truststore relative paths in the websocket-stomp example configuration. Changes
Sequence Diagram(s)Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
core/src/test/java/com/predic8/membrane/core/UnitTests.java
(1 hunks)core/src/test/java/com/predic8/membrane/core/interceptor/tunnel/WebsocketStompTest.java
(1 hunks)distribution/examples/websockets/websocket-stomp/proxies.xml
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Analyze (java)
🔇 Additional comments (3)
core/src/test/java/com/predic8/membrane/core/interceptor/tunnel/WebsocketStompTest.java (1)
26-26
: LGTM! Typo corrected.The comment typo has been fixed from "tart" to "Start".
core/src/test/java/com/predic8/membrane/core/UnitTests.java (2)
20-27
: Excellent documentation of test exclusions.The updated exclusion patterns now include clear, actionable reasons for why each test is excluded:
- ConnectionTest: tracked by issue #2180
- RewriteInterceptorIntegrationTest: needs refactoring
- WebsocketStompTest: not standalone (requires external infrastructure)
- OAuth2Resource2InterceptorTest: incomplete setup
- MemcachedConnectorTest: requires external Memcached service
This documentation significantly improves maintainability by making it clear which tests need attention and why.
33-40
: LGTM! Minor formatting adjustment.The formatting of the commented-out code block has been adjusted for consistency. No functional impact.
This pull request needs "/ok-to-test" from an authorized committer. |
/ok-to-test |
Summary by CodeRabbit
Bug Fixes
Documentation
Tests