Closed Bug 1194683 Opened 10 years ago Closed 10 years ago

RollingFileLoggerTests causes infinite loop in RollingFileLogger:newLogWithDate

Categories

(Firefox for iOS :: Build & Test, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: fluffyemily, Assigned: sleroux)

Details

Attachments

(1 file)

SharedTests.RollingFileLoggerTests testNewLogCreatesLogFileWithTimestamp enters newLogWithDate and at line 44 enters infinite loop while sizeOfAllLogFiles() > sizeLimit { deleteOldestLog() } deleteOldestLog() doesn't delete anything and so sizeOfAllLogFiles() is never < sizeLimit and the while loop is never exited.
Assignee: nobody → sleroux
Attachment #8648196 - Flags: review?(rnewman)
Attachment #8648196 - Flags: review?(rnewman) → review+
Status: NEW → ASSIGNED
Merged
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: