This is an automated email from the ASF dual-hosted git repository. shuber pushed a commit to branch unomi-1.5.x in repository https://gitbox.apache.org/repos/asf/unomi.git
commit ccd455f7f38625eb743a0959944045206f92d2d9 Author: Serge Huber <[email protected]> AuthorDate: Sat Nov 7 18:17:12 2020 +0100 Fix issues with integration tests (cherry picked from commit 3e1415bac42ea26a5e969d065e8aba530bd59e6e) --- itests/src/test/java/org/apache/unomi/itests/EventServiceIT.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/itests/src/test/java/org/apache/unomi/itests/EventServiceIT.java b/itests/src/test/java/org/apache/unomi/itests/EventServiceIT.java index ea0f83b..530baa8 100644 --- a/itests/src/test/java/org/apache/unomi/itests/EventServiceIT.java +++ b/itests/src/test/java/org/apache/unomi/itests/EventServiceIT.java @@ -25,6 +25,7 @@ import org.apache.unomi.api.query.Query; import org.apache.unomi.api.PartialList; +import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.Assert; @@ -61,6 +62,13 @@ public class EventServiceIT extends BaseIT { @Filter(timeout = 600000) protected ProfileService profileService; + @After + public void tearDown() { + TestUtils.removeAllEvents(definitionsService, persistenceService); + TestUtils.removeAllSessions(definitionsService, persistenceService); + TestUtils.removeAllProfiles(definitionsService, persistenceService); + } + @Test public void test_EventExistenceWithProfileId() throws InterruptedException{ String eventId = "test-event-id-" + System.currentTimeMillis();;
