Models junits are failing locally 08/105108/2
authorJim Hahn <jrh3@att.com>
Fri, 3 Apr 2020 21:45:29 +0000 (17:45 -0400)
committerJim Hahn <jrh3@att.com>
Fri, 3 Apr 2020 22:00:05 +0000 (18:00 -0400)
commitea9113151c030efdd9b393787f1e57bc72734e88
tree0b8ad50a62f798c861e4b809eca1e0b8e0138d59
parent5f789441acfc2964c16052f1c65206018b1e8b41
Models junits are failing locally

Junits were failing in my local eclipse environment.  Fixed the
following:
- more cases of "is marked @NonNull but is null" (I thought Liam had
  already fixed all of these, but I'm still seeing errors, so fixed
  some more)
- comparing "Instant" values in event time stamps assumes that
  the times will be different, but may not be, if the JVM is fast
  enough.  Modified the test to set the times of the new events to
  Instant+1, to ensure that they are different from the original

Issue-ID: POLICY-2305
Change-Id: Ic05bc6a58b559ba589583ce887711ee01f76691c
Signed-off-by: Jim Hahn <jrh3@att.com>
models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/AbatedTest.java
models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/CanonicalAbatedTest.java
models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/CanonicalOnsetTest.java
models-interactions/model-impl/events/src/test/java/org/onap/policy/controlloop/OnsetTest.java
models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/PdpGroupFilterTest.java
models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpGroupTest.java
models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpSubGroupTest.java
models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpTest.java
models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/provider/PdpProviderTest.java
models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/provider/PdpStatisticsProviderTest.java
pom.xml