flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

[e2e] optimization for arm64

Open deemogsw opened this issue 3 years ago • 1 comments

linked #1558 1 make sure mac with apple silicon chip can run the test case. 2 define the expose port 8081:8081 in JobManager's container.So when container is running, Flink web is avaliable in http://localhost:8081

deemogsw avatar Sep 16 '22 07:09 deemogsw

Hi @deemogsw, thanks for your great contribution!

Currently MySQL E2e test cases have upgraded docker image tag to mysql:8.0, which should run on Apple Silicon chips natively.

As for static port mappings, my concern is 8081 port isn't always available, and there might be some problem if several e2e test cases run simultaneously. Currently TestContainers always maps them to a random free port without explicit withPortBindings command. One can use docker port <container_id> or Container.getMappedPort() to access the mapped port info.

I'm going to close this PR since these problems have been addressed in latest master branch. Feel free to reopen it if you have other concerns.

yuxiqian avatar Apr 25 '24 07:04 yuxiqian