[e2e] optimization for arm64
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
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.