longhorn-tests icon indicating copy to clipboard operation
longhorn-tests copied to clipboard

feat(backingimage): add backing image ha, eviction and selector testing

Open ChanYiLin opened this issue 1 year ago • 1 comments

ref: https://github.com/longhorn/longhorn/issues/2856

Add e2e tests for backing image enhancement

  • HA
  • selector
  • eviction

ChanYiLin avatar Apr 29 '24 14:04 ChanYiLin

This PR depends on the longhorn-manager PR: https://github.com/longhorn/longhorn-manager/pull/2742

ChanYiLin avatar Apr 30 '24 05:04 ChanYiLin

This pull request is now in conflict. Could you fix it @ChanYiLin? 🙏

mergify[bot] avatar Jun 05 '24 08:06 mergify[bot]

This pull request is now in conflict. Could you fix it @ChanYiLin? 🙏

Fixed.

ChanYiLin avatar Jun 05 '24 08:06 ChanYiLin

This pull request is now in conflict. Could you fix it @ChanYiLin? 🙏

mergify[bot] avatar Jul 03 '24 08:07 mergify[bot]

Hi @khushboo-rancher @shuo-wu @derekbit the feature has been merged, we can review and merge the tests thanks

ChanYiLin avatar Jul 03 '24 08:07 ChanYiLin

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.

ChanYiLin avatar Jul 05 '24 09:07 ChanYiLin

This pull request is now in conflict. Could you fix it @ChanYiLin? 🙏

mergify[bot] avatar Jul 09 '24 07:07 mergify[bot]

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

ChanYiLin avatar Jul 09 '24 09:07 ChanYiLin

Need to fix codespell and flake8 errors

derekbit avatar Jul 10 '24 08:07 derekbit