]> sourceware.org Git - lvm2.git/commit
The following tests in the testsuite have race conditions:
authorJonathan Earl Brassow <jbrassow@redhat.com>
Thu, 22 Apr 2010 15:39:40 +0000 (15:39 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Thu, 22 Apr 2010 15:39:40 +0000 (15:39 +0000)
commitaa3bdb191199ed42521f6f23b9096005da882317
tree3565b5585b1dc976743f672f828cece259fdf6df
parent5ce8c9ae77d4c0c61d727449a5bea5a1c239550e
The following tests in the testsuite have race conditions:
1) Test that the primary mirror image cannot be removed while
   the mirror set is sync'ing.
2) Test that you cannot start a second mirror up-convert while
   one is already in progress.

The trouble is that if the sync/conversion finishes before the
tests occur, the tests will fail by why of success where there
should have been failure.  This means the sync/conversion must
happen very quickly, but this is possible because the test
mirrors we are creating are so small.

In order to decrease the likelyhood of these test failing (or
more correctly, failing to test the right thing), I've increase
the size of the mirrors.  It will still be remotely possible that
the tests will fail (by way of failing to test the right thing).
If this continues to happen, more involved mechanisms will need
to be put in place.  (Perhaps these will still be created, but
this change should be a remedy until that time.)
test/t-lvconvert-mirror.sh
test/t-mirror-lvconvert.sh
This page took 0.038062 seconds and 5 git commands to generate.