Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update existing and add new tests for migration v2 #754

Merged
merged 24 commits into from
Sep 15, 2023

Commits on Sep 15, 2023

  1. test: update existing tests

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    76b0d84 View commit details
    Browse the repository at this point in the history
  2. test: reintroduce migration unit tests for v2

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    f859512 View commit details
    Browse the repository at this point in the history
  3. test: add migration state sequence test

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    d4a01e1 View commit details
    Browse the repository at this point in the history
  4. test: add tests for handle_mig_data_read

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    a43e509 View commit details
    Browse the repository at this point in the history
  5. test: add tests for handle_mig_data_write

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    014f0b4 View commit details
    Browse the repository at this point in the history
  6. test: add test for starting in RESUMING state

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    a20c96c View commit details
    Browse the repository at this point in the history
  7. test: add tests for dirty page logging

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    fb04887 View commit details
    Browse the repository at this point in the history
  8. test: fix memory leak in unit tests

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    d636a4d View commit details
    Browse the repository at this point in the history
  9. fix: conflict with kernel definitions in tests

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    e843750 View commit details
    Browse the repository at this point in the history
  10. test: add tests for logging specific pages

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    d3020a4 View commit details
    Browse the repository at this point in the history
  11. fix: memory leak in dirty page tracking tests

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    161771f View commit details
    Browse the repository at this point in the history
  12. test: add tests for migration FSM paths

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    dc85c28 View commit details
    Browse the repository at this point in the history
  13. test: add test for nonexistent state

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    0db1c37 View commit details
    Browse the repository at this point in the history
  14. fix: fixes for changes from John's core review

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    ffbd9f8 View commit details
    Browse the repository at this point in the history
  15. refactor: move a number of tests from C to Python

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    38fce72 View commit details
    Browse the repository at this point in the history
  16. test: add missing tests for different dirty page sizes

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    13affff View commit details
    Browse the repository at this point in the history
  17. test: improve test coverage

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    962e613 View commit details
    Browse the repository at this point in the history
  18. fix: argsz semantics in tests

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    e3fcfa4 View commit details
    Browse the repository at this point in the history
  19. test: add more tests for bad argsz

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    631ac2a View commit details
    Browse the repository at this point in the history
  20. fix: authors of test_migration.py

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    9ed381b View commit details
    Browse the repository at this point in the history
  21. respond to more of Thanos's comments

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    37a77a8 View commit details
    Browse the repository at this point in the history
  22. refactor migration tests and small test fixes

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    e9127e0 View commit details
    Browse the repository at this point in the history
  23. refactor bad python

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    f567bb8 View commit details
    Browse the repository at this point in the history
  24. refactor migration transition test

    Signed-off-by: William Henderson <william.henderson@nutanix.com>
    w-henderson authored and jlevon committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    e87e6a3 View commit details
    Browse the repository at this point in the history