MCPcopy Create free account
hub / github.com/ceph/ceph / validate

Method validate

qa/tasks/cephfs/test_data_scan.py:408–417  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

406 self._mount.write_test_pattern("subdir/{0}".format(n), 6 * 1024 * 1024)
407
408 def validate(self):
409 for n in range(0, self.file_count):
410 try:
411 self._mount.validate_test_pattern("subdir/{0}".format(n), 6 * 1024 * 1024)
412 except CommandFailedError as e:
413 self._errors.append(
414 ValidationError("File {0}: {1}".format(n, e), traceback.format_exc(3))
415 )
416
417 return self._errors
418
419
420class MissingZerothObject(Workload):

Callers

nothing calls this directly

Calls 4

ValidationErrorClass · 0.85
validate_test_patternMethod · 0.80
formatMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected