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

Split the tests in modules per service #262

Merged
merged 2 commits into from Jun 10, 2020

Conversation

orpiske
Copy link
Contributor

@orpiske orpiske commented Jun 8, 2020

This is a proposed change to solve the dependencies problems discussed on #211.

This changes breaks down the test module into submodules and groups the tests per service or service group (ie.: AWS, SJMS2, ElasticSearch) etc. This way, we can reduce the number of dependencies in test time which would help us find problems such as missing dependencies on the connector.

As a result of this break-down, the logs are generated per module and the plugin.path configuration of the runtime loads only the connector under test.

There is a small increase in test time, as the embedded Kafka and the Kafka Connect Runtime are recycled for every test.

@orpiske
Copy link
Contributor Author

orpiske commented Jun 9, 2020

Failing w/ a Java heap error. I am looking at it.

orpiske and others added 2 commits June 10, 2020 09:47
This includes:

- modifications to normalize package names according to what
they are testing
- plugin path cleanups so that only the modules in test are loaded
- minor log cleanups to avoid repitions and provide sensible defaults
  since now a log file per module is created
- A small fix for not setting the amazon host on the URL test
Related to the known issue apache#260 on Github
@orpiske
Copy link
Contributor Author

orpiske commented Jun 10, 2020

Failing w/ a Java heap error. I am looking at it.

Hooray. The test have passed.

@oscerd oscerd merged commit 6121dd6 into apache:master Jun 10, 2020
@orpiske orpiske mentioned this pull request Jun 12, 2020
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.

None yet

2 participants