ostinru opened a new pull request, #91:
URL: https://github.com/apache/cloudberry-pxf/pull/91
### Add testcontainers-bassed automation tests
For new tests I used testcontainers. This is a shift in the way we running
automation tests:
* new tests run on host machine (you can run tests from your IDE)
```
+----------------------------------------------------------------+
| Host |
| +-------------------------------+ +-----------------------+ |
| | Docker | | Docker | |
| | [Cloudberry] --> [PXF] ------------> [Database] | |
| | | | | |
| +-------------------------------+ +-----------------------+ |
| |
| [Automation] |
+----------------------------------------------------------------+
```
* new test framework manages Docker containers on its own:
* it will start only required containers
* all test-specific code is located near test (not in a single bash-file)
* it opens a way to run highly custom containers (kerberos tests?)
* No jSystemCore. This framework have not active development for couple
years. New classes uses same TestObject pattern, but have no direct dependency
on jSystemCore.
### Containers
New framework uses shrinked version of `pxf-cbdb-dev`:
* no hadoop ecosystem in the same container
* no more file permission issues - we copy files to container instead of
mapping (binding) them in RW mode
* faster cloudberry + PXF builds:
* no pxf-cli - it is unused
* gradle is baked into docker image - no downloads during container run
* map system-wide gradle cache to container as RO cache
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]