← Back to team overview

curtin-dev team mailing list archive

[Merge] ~mwhudson/curtin:skip-test_correct_ptype-bionic into curtin:master

 

Michael Hudson-Doyle has proposed merging ~mwhudson/curtin:skip-test_correct_ptype-bionic into curtin:master.

Commit message:
skip BionicTestPartitionExistingRAID.test_correct_ptype

The collect script fails on Bionic because lsblk -o PTTYPE does not work
there, so just skip the test there. This was the only failing vmtest
overnight!!



Requested reviews:
  curtin developers (curtin-dev)

For more details, see:
https://code.launchpad.net/~mwhudson/curtin/+git/curtin/+merge/416165
-- 
Your team curtin developers is requested to review the proposed merge of ~mwhudson/curtin:skip-test_correct_ptype-bionic into curtin:master.
diff --git a/tests/vmtests/test_preserve_raid.py b/tests/vmtests/test_preserve_raid.py
index 4bb977e..04c16b7 100644
--- a/tests/vmtests/test_preserve_raid.py
+++ b/tests/vmtests/test_preserve_raid.py
@@ -56,6 +56,9 @@ class BionicTestPartitionExistingRAID(
         relbase.bionic, TestPartitionExistingRAID):
     __test__ = True
 
+    def test_correct_ptype(self):
+        self.skipTest("lsblk on bionic does not support PTTYPE")
+
 
 class FocalTestPartitionExistingRAID(
         relbase.focal, TestPartitionExistingRAID):

Follow ups