Project

General

Profile

Feature #9632

testing: test CrushWrapper::get_full_location_ordered()

Added by Greg Farnum over 9 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

A recent backport of changes to get_full_location_ordered() passed all the make check and RADOS suite tests, but caused failures in the CephFS suite. This turned out to be because the function is barely tested in those suites. Client::get_osd_crush_location() wraps get_full_location_ordered() and covers several more test cases. In particular, it tests:
non-existent OSDs
invalid OSD IDs (which get_full_location_ordered accepts as buckets)

TestCrushWrapper merely checks that after inserting an OSD, get_full_location_ordered() correctly supplies its containing buckets.

History

#1 Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (10)

Also available in: Atom PDF