Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.coverage.test')
-rw-r--r--plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/VectorCastImportTest.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/VectorCastImportTest.java b/plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/VectorCastImportTest.java
index ff96c98db81..e0a9f6ed6b0 100644
--- a/plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/VectorCastImportTest.java
+++ b/plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/VectorCastImportTest.java
@@ -58,10 +58,12 @@ public class VectorCastImportTest {
private static boolean testWithDb = true;
@BeforeClass
- public static void setUp() throws OseeCoreException, IOException {
+ public static void setUp() throws OseeCoreException, IOException, InterruptedException {
CoverageUtil.setIsInTest(true);
- testCleanup();
createVCastFileset();
+ // give time for copied files to be closed and recognized by filesystem
+ Thread.sleep(2000);
+ testCleanup();
}
@AfterClass
@@ -280,6 +282,8 @@ public class VectorCastImportTest {
/**
* Create dir structure for importer to read
+ *
+ * @throws InterruptedException
*/
private static void createVCastFileset() throws OseeCoreException, IOException {
PluginUtil helper = new PluginUtil(Activator.PLUGIN_ID);

Back to the top