zhangy5 opened a new issue, #22879:
URL: https://github.com/apache/doris/issues/22879

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   The Jenkins tasks (jenkins 
daily:https://ci-builds.apache.org/job/Doris/job/doris_daily_enable_vectorized/)
 execute internal test cases of Baidu. Now, these test cases are being 
submitted. The following is the description of these test cases.
   
   ### Testing framework
   
   - python3 + pytest
   
   ### Testing dependencies
   
   - mysql
   - hdfs
   - Python package installation:  pip install -r requirements.txt
   - 3 be, create 3 replicas of tables
   - 3 fe, some restart cases require 3 fe followers and an observer
   
   ### Configurations
   The test configurations that need to be modified are as follows:
   
   - var.sh
   - deploy/env_config.py
   - lib/palo_config.py
   - lib/kafka_config.py
   - qe/palo2/data/init_lateral_view.sh
   
   ### Test environment deployment
   Place the compiled output in the deploy directory, configure the 
deploy/env_config.py file, and execute the following command:
   ```
   cd deploy
   python deploy.py
   ```
   
   ### Test data preparation
   1. Data download
   2. Place the data from the hdfs directory onto hdfs
   3. Configure Kafka and prepare Kafka test data. Use the following command to 
create a Kafka topic (used in routine load-related cases):
   ```
   cd lib
   python kafka_config.py
   ```
   4. Configure Canal and enable it
   5. Initialize Doris & MySQL data (used in query cases)
   ```
   source var.sh
   cd deploy/qe
   sh init_data.sh
   sh init_mysql.sh
   ```
   ### Test execution commands
   Execute functional tests: bash run_case.sh
   Execute exception tests: bash run_restart_case.sh
   ### Test reports:
   Support reports in both XML and HTML formats
   
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to