-
Notifications
You must be signed in to change notification settings - Fork 106
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 code fixes for the auto-generated connectors #138
Test code fixes for the auto-generated connectors #138
Conversation
@orpiske can you fix the codestyle? |
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.
Hit the send too soon on this one.
tests/src/test/java/org/apache/camel/kafkaconnector/PluginPathHelper.java
Outdated
Show resolved
Hide resolved
a32a017
to
9b0bf23
Compare
Done! It should be fine now. |
Thanks! |
9b0bf23
to
6770d9c
Compare
LGTM |
@valdar is it ok for you? |
Ahhh, no. @valdar gave me an idea that solves the problem without any of this. Just changing the elasticsearch provided dependency to the core one did the trick. Huge thanks for his idea! |
This converts/adjusts the integration test to to work with the code in the new connectors module. It provides the ground work for them to use those new set of connectors. It also cleanup most of connectors dependencies as they are not really required for the test execution/build.
…of the jar files - Improved the log information about the duration to initialize the connectors - Adjust to use the newer properties - Do log the delegating class messages as it impacts the test execution - Avoid loading all the jar files into the plugin path causing a long startup delay on the tests
6770d9c
to
e96566b
Compare
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.
👍
This fixes a couple of errors in tests and adjust the code to work with the new
auto-generated connectors. It fixes most of the DelegatingClassLoader errors
although one still remain in one scenario: ElasticSearch Rest with Java 8.