Skip to content
Snippets Groups Projects
Commit 4520fec5 authored by Sumra Zafar's avatar Sumra Zafar
Browse files

Updating readme with Azure test info

parent 459cf885
No related branches found
No related tags found
1 merge request!31Updating readme with Azure test info
Pipeline #21272 passed with warnings
......@@ -66,6 +66,17 @@ To run:
python3 run_test.py
```
### Azure Tests
For the python tests to run in Azure, the CI-CD pipeline copies the SIS_DATA folder to the shared storage for the pods to read. If you are setting up the environment manually and not using Azure CI-CD Pipeline, make sure to copy the folder
Sample code:
```bash
search_dir="apachesis_setup/SIS_DATA"
find "$search_dir/" -type f -print0 | while read -d $'\0' file; do
echo "File: $file"
az storage file upload --account-name $accountName --account-key $accountKey --share-name $SHARE_NAME --source "$file" --path "$file"
done
```
**Note:** To simulate a runtime exactly as that of the vsts build agent, you can simply exec into the docker image we use for the build agent, and run the tests from inside it. To know how to do this, please follow [this](https://slb-swt.visualstudio.com/data-at-rest/_git/dps-vsts-build-agent?path=%2FREADME.md&version=GBmaster) documentation.
## Suite Test: ```test_suite.py```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment