]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: TEST_crush_reject_empty must not run a mon
authorLoic Dachary <ldachary@redhat.com>
Fri, 10 Jul 2015 14:23:47 +0000 (16:23 +0200)
committerKefu Chai <kchai@redhat.com>
Sat, 11 Jul 2015 17:32:42 +0000 (01:32 +0800)
commit2aaeea145b24b972a0b98549c3527ccf98f4c96f
tree34ac5d75f332abfd03525cd500ac524f895f7d20
parent80afb81124a0d2ef25a23a12c86617ab1da3a4bd
tests: TEST_crush_reject_empty must not run a mon

* Back in Hammer, the osd-crush.sh individual tests did not run the
  monitor, it was taken care of by the run() function. An attempt to run
  another mon fails with:

  error: IO lock testdir/osd-crush/a/store.db/LOCK: Resource temporarily
  unavailable

  This problem was introduced by cc1cc033930e8690a57674e842a003f6bbc7a242
  from https://github.com/ceph/ceph/pull/4936
* replace test/mon/mon-test-helpers.sh with test/ceph-helpers.sh as
  we need run_osd() in this newly added test
* update the run-dir of commands: ceph-helpers.sh use the different
  convention for the run-dir of daemons.

http://tracker.ceph.com/issues/11975 Refs: #11975

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/mon/osd-crush.sh