Source code for archiver_test.fail_reasons
from enum import Enum
[docs]
class Reason(Enum):
"""Possible reasons the data from two archivers for the same PV are different."""
[docs]
symptoms = {
"estimated event rate different": {
"sampling method different",
"sampling period different",
"capacityy adjustment constant different",
"capacity full",
},
"large number of dropped events to total events but event rate similar": {
"sampling method different",
"sampling period different",
"capacityy adjustment constant different",
"capacity full",
},
"single event where timestamp not in time period": {},
}