test: for a deployed date-time in future
@@ -341,7 +341,7 @@ public class ApiManagerTest {
verify(eventManager).publishEvent(ReactorEvent.DEPLOY, api);
final Api api2 = new Api(api);
- api2.setDeployedAt(new Date());
+ api2.setDeployedAt(new Date(api.getDeployedAt().getTime()+100));
api2.setPlans(Collections.<Plan>emptyList());
apiManager.register(api2);
