Project

General

Profile

Actions

Tasks #4321

closed

unit tests for FileStore::_detect_fs

Added by Loïc Dachary about 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
qa
Target version:
-
% Done:

10%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

work in progress

FileStore.cc::_detect_fs unit testing requires root privileges . It is best done by coupling a shell script (in the qa/workunits directory) that setup the proper environment for unit tests written in test/filestore/store_test.cc

  • for fs in ext4 btrfs xfs
    • create an $fs filesystem
    • run ceph_test_filestore --gtest_filter=${fs}StoreTest.*

The workunit test is then run as part of teuthology to check code coverage

Actions #1

Updated by Loïc Dachary about 11 years ago

  • Description updated (diff)
Actions #2

Updated by Loïc Dachary about 11 years ago

  • Description updated (diff)
  • % Done changed from 0 to 10
  • Estimated time set to 16:00 h
Actions #3

Updated by Loïc Dachary about 11 years ago

Rebase to help with the pull request and submit a pull request. The patch http://marc.info/?l=ceph-devel&m=136248439028974&w=2 was sent to the list shortly before it was decided that github pull requests should be used instead, which is probably why it was overlooked.

Actions #4

Updated by Loïc Dachary over 10 years ago

  • Status changed from In Progress to Resolved

A new ticket can be created when there is an incentive to keep working on this topic. When and if someone find the motivation, it is doubtfull that (s)he will find this issue anyway, better close it and leave it to 10% done.

Actions

Also available in: Atom PDF