gluster / glusto-tests

Functional test framework for glusterfs.
GNU General Public License v3.0
19 stars 43 forks source link

[Test] Add test to compile linux kernel with self-heal #49

Closed kshithijiyer closed 3 years ago

kshithijiyer commented 3 years ago

Test Case:

  1. Create a volume of any type, start it and mount it.
  2. Perform linux untar on the mount point and wait for it to complete.
  3. Bring down brick processes of volume.
  4. Compile linux kernel on monut point.
  5. Bring offline bricks back online.
  6. Wait for heal to complete.
  7. Check arequal checksum on bricks and make sure there is no data loss.

Signed-off-by: kshithijiyer kshithij.ki@gmail.com

kshithijiyer commented 3 years ago

@pranavprakash20 @aloganat @itisravi @karthik-us @milindw96 Can you guys please review this patch?

kshithijiyer commented 3 years ago

Test case running properly

test_compile_linux_kernel_with_self_heal.py::TestCompileLinuxKernelWithSelfHeal_cplex_replicated_glusterfs::test_compile_linux_kernel_with_self_heal PASSED [ 50%]
test_compile_linux_kernel_with_self_heal.py::TestCompileLinuxKernelWithSelfHeal_cplex_distributed-replicated_glusterfs::test_compile_linux_kernel_with_self_heal PASSED [100%]

===================================== 2 passed in 35396.90 seconds ======================================
Ending glusto via main()