cryptoe commented on code in PR #13660: URL: https://github.com/apache/druid/pull/13660#discussion_r1068285310
########## integration-tests-ex/docs/guide.md: ########## @@ -239,3 +239,29 @@ test. Your test will run in parallel with all other IT categories, which is why we offered the advice above: the test has to have a good reason to fire up yet another build task. +### Choosing the Middle Manager or Indexer + +Tests should run on the Middle Manager by default. Tests can optionally runn on the Review Comment: nit:run ########## integration-tests-ex/docs/guide.md: ########## @@ -239,3 +239,29 @@ test. Your test will run in parallel with all other IT categories, which is why we offered the advice above: the test has to have a good reason to fire up yet another build task. +### Choosing the Middle Manager or Indexer + +Tests should run on the Middle Manager by default. Tests can optionally runn on the +Indexer. To run on Indexer: + +* In the environment, `export DRUID_INTEGRATION_TEST_INDEXER=indexer`. (Use `middleManager` + otherwise. If the variable is not set, `middleManager` is the default.) +* The `cluster/<category>/docker-compose.yaml` file should be for the Middle manager. Create + a separate file called `cluster/<category>/docker-compose-indexer.yaml` to define the + Indexer-based cluster. +* The test `src/test/resources/cluster/<category>/docker.yaml` file should contain a conditional Review Comment: I have a test case that should run only on MM. As this test case is part of the MSQ category, how can I control to skip running this test . The test is namely `ITMultiStageQueryWorkerFaultTolerance`. I had to create a new category for it. The ideal way would be to control "not running a particular test" at each test case level. By default, the test case runs on both MM's and indexers unless specified otherwise. Thoughts? -- 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]
