From 19b4ddd0c88590302b46c2c85f3c8adea3f88253 Mon Sep 17 00:00:00 2001 From: forjsharp Date: Sun, 21 Sep 2014 15:30:02 -0700 Subject: [PATCH] REST: BrowseServiceTest: Mitigate Stale Item Error --- .../org/apache/archiva/rest/services/BrowseServiceTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/BrowseServiceTest.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/BrowseServiceTest.java index 9a1dbd6ad..99cb83b5d 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/BrowseServiceTest.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/BrowseServiceTest.java @@ -337,6 +337,8 @@ public class BrowseServiceTest public void deleteTestRepo() throws Exception { + scanRepo( TEST_REPO_ID ); + waitForScanToComplete( TEST_REPO_ID ); deleteTestRepo( TEST_REPO_ID ); } } -- 2.39.5