Fixed failures with test cases

This commit is contained in:
peng-yongsheng 2019-03-17 10:19:26 +08:00
parent 610a53784f
commit 923e47206e
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ public class ServiceDispatcher implements SourceDispatcher<Service> {
if (!new EqualMatch().setLeft(source.getName()).setRight("/service/prod/save").match()) {
return;
}
if (!new GreaterMatch().match(source.getLatency(), 1000)) {
return;
}
indicator.setTimeBucket(source.getTimeBucket());
indicator.setEntityId(source.getEntityId());