1
0
mirror of https://github.com/gluster/glusterfs.git synced 2026-02-06 18:48:16 +01:00
Files
glusterfs/tests/bugs/replicate
Karthik Subrahmanya 55582cad3f tests: Fix bug-1586020-mark-dirty-for-entry-txn-on-quorum-failure.t (#3794)
Issue:
The test case tries to simulate a scenario where the entry creation
succeeds on a single brick by filling the other two bricks. The condition
which was checking the file creation failure on the other 2 brick has been
changed recently to check for the number of blocks allocated for the file.
In some cases when the brick gets filled, it might still be able to create
few empty files but not accommodate data.

Fix:
Change the condition to check whether the file creation itself will fail on
the 2 brick before exiting the loop, so that the next file creation operation
will fail on both the bricks, simulating the expected scenario.

Change-Id: Ifd2ee5b7cbe6bc713c3e19eae79c31a91238579f
Signed-off-by: karthik-us <ksubrahm@redhat.com>
Fixes: #3793

Signed-off-by: karthik-us <ksubrahm@redhat.com>
2022-09-08 10:54:10 +05:30
..
2016-07-12 10:07:48 +05:30
2019-08-12 11:29:36 +05:30
2018-05-18 15:38:29 +05:30