Commit Graph

4 Commits

Author SHA1 Message Date
John Spray 63a563d0e7 tasks/cephfs: fix race in test_full
Sometimes mount A would get a cap revoke when mount
B did its last IO, resulting in mount A's OSD epoch
getting updated too.

Fix by making sure mount B is the last one to have
done IO before we do the barrier, so that when
it does IO again after the barrier, mount A can't
be holding any caps that B would need.

Fixes: #11913
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-11 11:21:26 +01:00
John Spray 5ff2743de4 tasks/cephfs: fix timing in test_full
The interval between writes was too short because
it was not taking account of the way OSDMap full
flags are set on tick rather than immediately.

Fixes: #11779

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-27 12:40:49 +01:00
John Spray 13c7f97d89 tasks/cephfs: cover pool quota in test_full
Run the same procedure as TestClusterFull, but
instead of limiting OSD memstore size, use pool
quota on the data pool.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-08 14:09:59 +01:00
John Spray 2b5137bf06 tasks: generalise cephfs test runner
...to avoid having boilerplate in each test module,
and gain the ability to run them all in one go
with a nice test-by-test pass/fail report.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-04-14 14:13:39 +01:00