Skip to content

Commit 48578e8

Browse files
authored
Merge pull request ceph#64731 from rishabh-d-dave/test_for_6_ongoing_clones
qa/cephfs: increase clones for test_for_6_ongoing_clones Reviewed-by: Venky Shankar <[email protected]>
2 parents b721f8e + d24da38 commit 48578e8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

qa/tasks/cephfs/volumes/test_clone_stats.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def test_clones_equal_to_cloner_threads(self):
529529
time.sleep(1)
530530
continue
531531
elif len(pev) > 1:
532-
raise RuntimeError('For 1 clone "ceph status" output has 2 '
532+
raise RuntimeError('For 4 clone "ceph status" output has 2 '
533533
'progress bars, it should have only 1 '
534534
f'progress bar.\npev -\n{pev}')
535535

@@ -860,5 +860,10 @@ def test_for_2_ongoing_clones(self):
860860
def test_for_4_ongoing_clones(self):
861861
self._run_test(MAX_THREADS=4, NUM_OF_CLONES=8)
862862

863+
# NOTE: once in many runs with teuthology clones finish much faster than
864+
# expected. causing the message on the clone progress bars to have less
865+
# than 6 clones leading to failure. if this happens too often perhaps Sepia
866+
# lab machines are too fast and deleting this test should be considered
867+
# since other tests in this class also test this feature.
863868
def test_for_6_ongoing_clones(self):
864-
self._run_test(MAX_THREADS=6, NUM_OF_CLONES=16)
869+
self._run_test(MAX_THREADS=6, NUM_OF_CLONES=24)

0 commit comments

Comments
 (0)