X-Git-Url: https://gerrit.onap.org/r/gitweb?p=clamp.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Fclamp%2Fclds%2Fit%2FRobotItCase.java;h=5eff96e44d9d37dd85a18931c8c0816fb581f60e;hp=b386d9bb8cb4773e806b1c4652fb69526daeedf8;hb=d6f441375ba214ad849c370798a7fdc3d6ff5bc6;hpb=083e5a2aefd76bb1fc25bcb5528b7288b059c1c2 diff --git a/src/test/java/org/onap/clamp/clds/it/RobotItCase.java b/src/test/java/org/onap/clamp/clds/it/RobotItCase.java index b386d9bb..5eff96e4 100644 --- a/src/test/java/org/onap/clamp/clds/it/RobotItCase.java +++ b/src/test/java/org/onap/clamp/clds/it/RobotItCase.java @@ -45,12 +45,14 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) @TestPropertySource(locations = "classpath:robotframework/robotframework-test.properties") +@DirtiesContext public class RobotItCase { @Value("${server.port}")