Commit 8642a22
Use NFS for intrapool migration in the glusterfs tests
The following tests are failing:
- test_glusterfs_sr_intrapool_migration.py::Test::test_cold_intrapool_migration
- test_glusterfs_sr_intrapool_migration.py::Test::test_live_intrapool_migration
With either one of those errors depending on the fixture resolution order:
- [AssertionError: xfsprogs must not be installed on the host at the beginning of the tests](https://github.com/xcp-ng/xcp-ng-tests/blob/377e8bd9d6ba0149728c5f4e535f55fb5fef84cf/tests/storage/conftest.py#L69)
- [AssertionError: There is already a saved package list set](https://github.com/xcp-ng/xcp-ng-tests/blob/488cbdc1258cc0e0a38bcf45ba39a7cb065a0491/lib/host.py#L621)[AssertionError: There is already a saved package list set](https://github.com/xcp-ng/xcp-ng-tests/blob/488cbdc1258cc0e0a38bcf45ba39a7cb065a0491/lib/host.py#L621)
This is due to both mangled package installation in underlying fixtures and the lack of enough unused disks for both SR.
@glehmann, @rzr and I concluded that using NFS was much simpler and less error prone to test the glusterfs intrapool migration
Signed-off-by: Vincent Michel <vincent.michel@vates.tech>1 parent 377e8bd commit 8642a22
1 file changed
Lines changed: 22 additions & 4 deletions
Lines changed: 22 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
17 | 35 | | |
18 | 36 | | |
19 | 37 | | |
| |||
22 | 40 | | |
23 | 41 | | |
24 | 42 | | |
25 | | - | |
| 43 | + | |
26 | 44 | | |
27 | | - | |
| 45 | + | |
28 | 46 | | |
29 | 47 | | |
30 | | - | |
| 48 | + | |
31 | 49 | | |
32 | | - | |
| 50 | + | |
0 commit comments