fix get_smartd_schedule_pieces

Description

Providing a valid smartd range in the webUI caused the smartd.conf to be written with empty range information () . The issue is that the value is expected to have a divisor if given a hyphenated range (i.e. 10-15/1 ). However, it's perfectly fine to not have a divisor and just take the values between the hypen. This fixes the scenario when a hyphenated range is given without a divisor. I've also added 2 more unit tests for this scenario.

Problem/Justification

None

Impact

None

Activity

Caleb 
February 3, 2022 at 7:16 PM

Caleb 
February 3, 2022 at 7:15 PM

Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created February 3, 2022 at 7:14 PM
Updated July 1, 2022 at 5:54 PM
Resolved February 10, 2022 at 2:53 PM