data2.add("50:150:400:300"); // RE_ARMED:NO_CHANGE:NONE:NONE
createAndUpdateRrd(rrd2, start, sources, data2);
m_thresholdInterface.getThresholdConfiguration().setThresholdGroup(group);
Events events = new Events();
m_snmpThresholder.checkResourceDir(rtDir, m_thresholdInterface, new Date(start), events);
<BUG>assertEquals(2, events.getEventCount()); // with Filters Enabled. See test-thresholds.xml
}</BUG>
private void createDsProperties(File dir, List<String> sources, String group) throws Exception {
Properties ds = new Properties();
for (String source : sources) {

data2.add("50:150:400:300"); // RE_ARMED:NO_CHANGE:NONE:NONE
createAndUpdateRrd(rrd2, start, sources, data2);
m_thresholdInterface.getThresholdConfiguration().setThresholdGroup(group);
Events events = new Events();
m_snmpThresholder.checkResourceDir(rtDir, m_thresholdInterface, new Date(start), events);
assertEquals(2, events.getEventCount()); // with Filters Enabled. See test-thresholds.xml
for (Event e : events.getEvent()) {
assertEquals("label", e.getParms().getParm(5).getParmName());
assertEquals("caracas", e.getParms().getParm(5).getValue().getContent());
}
}
private void createDsProperties(File dir, List<String> sources, String group) throws Exception {
Properties ds = new Properties();
for (String source : sources) {
