use of com.axibase.tsd.api.method.checks.AlertHistorySizeQueryCheck in project atsd-api-test by axibase.
the class AlertHistoryQueryTest method generateAlertHistory.
@BeforeClass(enabled = false)
public void generateAlertHistory() throws Exception {
Registry.Entity.checkExists(ALERTHISTORY_ENTITY_NAME);
generateAlertForEntity(ALERTHISTORY_ENTITY_NAME);
AlertHistoryQuery query = templateQuery().setEntity(ALERTHISTORY_ENTITY_NAME).setLimit(1);
Checker.check(new AlertHistorySizeQueryCheck(query, 1));
}
Aggregations