]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: add an OSDMap unittest
authorGreg Farnum <greg@inktank.com>
Sat, 11 Jan 2014 00:52:39 +0000 (16:52 -0800)
committerGreg Farnum <greg@inktank.com>
Thu, 16 Jan 2014 00:33:07 +0000 (16:33 -0800)
commit28e0b76191c4ee997f3af30dbefc5d3f24680f08
treea2210393feed3876c54c96ecb7b50b3a32605578
parentb18311577a18cefa6f59791aec1a99391ed4c231
test: add an OSDMap unittest

This is not super-sophisticated, but it does basic mapping function
consistency checks and looks at the [pg|primary]_temp manipulations. If
we want to in the future, we can do these programmatically across a range
of pgids instead of just checking hash 0.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/test/Makefile.am
src/test/osd/TestOSDMap.cc [new file with mode: 0644]