Clear servlets at the start of tests 95/85495/1
authorJim Hahn <jrh3@att.com>
Tue, 16 Apr 2019 15:58:37 +0000 (11:58 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 16 Apr 2019 15:58:37 +0000 (11:58 -0400)
commit326ec8210cd8849aa113a5eb615778b6bc987222
tree73202fec7a028f175a184c20a4f4c7ecdf892f52
parent8714a151ff87751b54c362c8a9248995e665e896
Clear servlets at the start of tests

Modified the junit tests to destroy the servlet factory before each
test to prevent previous configurations from interfering with
new configurations.

Change-Id: I558269e89af271bee13cb9db94eadbcbf08f14d4
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java
main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java
main/src/test/java/org/onap/policy/pap/main/startstop/TestPapActivator.java