Project

General

Profile

Bug #40062

check name of branch to set number of osds

Added by Alfredo Deza almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This line in conftest.py:

    if ceph_dev_branch in ['luminous', 'mimic']:
        num_osd_ports = 2

depends on the name of the branch, but it should be less strict, and use something like:

    if 'luminous' in ceph_dev_branch or 'mimic' in ceph_dev_branch:
        num_osd_ports = 2

Because sometimes tests might be triggered with a special branch. Yuri does this to test its integration branches for example.

Also available in: Atom PDF