]> source.dussan.org Git - archiva.git/commitdiff
REST: BrowseServiceTest: Mitigate Stale Item Error 4/head
authorforjsharp <forjsharp@gmail.com>
Sun, 21 Sep 2014 22:30:02 +0000 (15:30 -0700)
committerforjsharp <forjsharp@gmail.com>
Sun, 21 Sep 2014 22:30:02 +0000 (15:30 -0700)
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/BrowseServiceTest.java

index 9a1dbd6ad29628a4c3a412d72cd675bb071d9138..99cb83b5dbd3b0d5143a2237e6cb97f6c6d40990 100644 (file)
@@ -337,6 +337,8 @@ public class BrowseServiceTest
     public void deleteTestRepo()
         throws Exception
     {
+        scanRepo( TEST_REPO_ID );
+        waitForScanToComplete( TEST_REPO_ID );
         deleteTestRepo( TEST_REPO_ID );
     }
 }