Skip to content

Commit 1f5f5d0

Browse files
authored
Merge pull request Azure#26 from yifanz0/yifan/regretests-fix
Fix failing tests. Move data files used in dataplane tests to data directory
2 parents 196b99e + 584d283 commit 1f5f5d0

File tree

5 files changed

+152
-110
lines changed

5 files changed

+152
-110
lines changed

src/Storage/RegressionTests/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#Before running the tests:
2+
1. Create a directory called "data" under directory "RegressionTests" and create files with following names and sizes:
3+
| File Name | Size |
4+
|--------------------|---------|
5+
| testfile_1K_0 | 1KB |
6+
| testfile_10M | 10M |
7+
| testfile_300M | 300M |
8+
| testfile_2048K | 2048K |
9+
| testfile_10240K_0 | 10240K |
10+
| testfile_300000K_0 | 300000K |
11+
12+
2. Create a directoy called "created" under directory "RegressionTests"
13+
3. Fill in the placeholders in config_template.xml and change its name to config.xml
14+
15+
#To run the tests line by line:
16+
17+
1. If using local builds of the modules, import Az.Accounts and Az.Storage with the following commands:
18+
Import-Module {path to azure-powershell}\azure-powershell\artifacts\Debug\Az.Accounts\Az.Accounts.psd1
19+
Import-Module {path to azure-powershell}\azure-powershell\artifacts\Debug\Az.Storage\Az.Storage.psd1
20+
2. cd to {path to auzre-powershell repo}\azure-powershell\src\Storage\RegressionTests

0 commit comments

Comments
 (0)