Variations v= new Variations();
v.put(CONFIG, "%"); //$NON-NLS-1$
v.put(BUILD, build);
Scenario[] scenarios= DB.queryScenarios(v, SCENARIO_NAME_0, CONFIG, null);
if (scenarios != null && scenarios.length > 0) {
Scenario s= scenarios[0];
String[] failureMessages= s.getFailureMessages();
if (failureMessages.length == 1) {
String mesg= failureMessages[0];
if (mesg != null && mesg.equals("Performance criteria not met when compared to '{b=ref, c=test}':\nCPU Time: 1 s is not within [95%, 105%] of 900 ms")) //$NON-NLS-1$
failed= true;
}