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)
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 | ||
Updated•10 years ago
|
Assignee: nobody → sleroux
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8648196 -
Flags: review?(rnewman)
Updated•10 years ago
|
Attachment #8648196 -
Flags: review?(rnewman) → review+
Updated•10 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•10 years ago
|
||
Merged
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
tracking-fxios:
? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•