Hello, I am working on a PR for issue #12266 and I running into some issues with the tests and was hoping I could get some help and or direction on what I am doing wrong.
1. When I run mvn clean install -Pbin-dist to run all test locally, the testZookeeperDataEndpoints test always fails on test case 3, with the error "ZookeeperResourceTest.testZookeeperDataEndpoints:108 » NoHttpResponse localhost:((insert Random port number)) failed to respond", however when I run this test by itself through Intellij, it passes every time.
2. How do you set the port the query console will reside on? When I spin up my cluster using the Quickstart method, the query console gets placed on port 9000 along with the controller. This causes the testDriver test in the PinotDriverTest class to fail as it tries to connect using this URL: jdbc:
pinot://localhost:8000?controller=localhost:9000, if I change it to be jdbc:
pinot://localhost:9000?controller=localhost:9000 the test will pass as that is the URL to my cluster.
The errors I get through running the test seem to come down to configuration issues, and are testing parts of the code my changes do not touch (my changes are small). Is there a protocol to setting up a Pinot Cluster so all the tests are at least immune to failing based on if your controller is connect to the right port or not?
Thank you in advance for any help you can provide.