longhorn-tests
longhorn-tests copied to clipboard
feat(backingimage): add backing image ha, eviction and selector testing
ref: https://github.com/longhorn/longhorn/issues/2856
Add e2e tests for backing image enhancement
- HA
- selector
- eviction
This PR depends on the longhorn-manager PR: https://github.com/longhorn/longhorn-manager/pull/2742
This pull request is now in conflict. Could you fix it @ChanYiLin? 🙏
This pull request is now in conflict. Could you fix it @ChanYiLin? 🙏
Fixed.
This pull request is now in conflict. Could you fix it @ChanYiLin? 🙏
Hi @khushboo-rancher @shuo-wu @derekbit the feature has been merged, we can review and merge the tests thanks
Hi @chriscchien
I have added the test of passing the nodeSelector and diskSelector through csi volumesnapshot
And since we already test the scheduling in backing image e2e tests.
We can simply check if the spec.nodeSelector and spec.diskSelector have the values then pass the csi test.
This pull request is now in conflict. Could you fix it @ChanYiLin? 🙏
Waiting for testing
-vvs test_backing_image.py: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7188/console- all passed
- ~~
-vvs test_csi_snapshotter.py: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7189/console~~ - ~~
-vvs test_csi_snapshotter.py: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7190/console~~ -vvs test_csi_snapshotter.py: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7201/console- all passed, just our testing framework crashed
Need to fix codespell and flake8 errors