Fixed failures with test cases
This commit is contained in:
parent
610a53784f
commit
923e47206e
|
|
@ -40,6 +40,9 @@ public class ServiceDispatcher implements SourceDispatcher<Service> {
|
||||||
if (!new EqualMatch().setLeft(source.getName()).setRight("/service/prod/save").match()) {
|
if (!new EqualMatch().setLeft(source.getName()).setRight("/service/prod/save").match()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!new GreaterMatch().match(source.getLatency(), 1000)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
indicator.setTimeBucket(source.getTimeBucket());
|
indicator.setTimeBucket(source.getTimeBucket());
|
||||||
indicator.setEntityId(source.getEntityId());
|
indicator.setEntityId(source.getEntityId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue