We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 901d3a3 commit 9a9f4d3Copy full SHA for 9a9f4d3
1 file changed
tests/nvme_writeuncor_test.py
@@ -30,6 +30,7 @@
30
31
"""
32
33
+from nvme_test import to_decimal
34
from nvme_test_io import TestNVMeIO
35
36
@@ -51,6 +52,9 @@ def setUp(self):
51
52
self.read_file = self.test_log_dir + "/" + self.read_file
53
self.create_data_file(self.write_file, self.data_size, "15")
54
open(self.read_file, 'a').close()
55
+ oncs = to_decimal(self.get_id_ctrl_field_value("oncs"))
56
+ if not oncs & (1 << 1):
57
+ self.skipTest("write-uncor is not supported by this controller")
58
59
def tearDown(self):
60
""" Post Section for TestNVMeUncor """
0 commit comments