Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-06-20 18:47:35 -0400
committerRyan D. Brooks2011-06-20 18:47:35 -0400
commit1bbd3685a3bd141173b0e84fed61e7a026b85338 (patch)
tree2085ff96415d03b8b9d9a6742253f95e77b264e9 /plugins/org.eclipse.osee.framework.skynet.core.test
parent7600301ad0b762cd1298b899e805f5bd5832da59 (diff)
downloadorg.eclipse.osee-1bbd3685a3bd141173b0e84fed61e7a026b85338.tar.gz
org.eclipse.osee-1bbd3685a3bd141173b0e84fed61e7a026b85338.tar.xz
org.eclipse.osee-1bbd3685a3bd141173b0e84fed61e7a026b85338.zip
refactor: Cleanup and fix production tests
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core.test')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQueryPerformanceTests.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQueryPerformanceTests.java b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQueryPerformanceTests.java
index 99ce4d5f5d..078ce641a7 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQueryPerformanceTests.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQueryPerformanceTests.java
@@ -14,11 +14,9 @@ import static org.eclipse.osee.framework.core.enums.DeletionFlag.EXCLUDE_DELETED
import static org.eclipse.osee.framework.core.enums.DeletionFlag.INCLUDE_DELETED;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
-
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
@@ -78,8 +76,10 @@ public class ArtifactQueryPerformanceTests {
long elapsedTime = System.currentTimeMillis() - startTime;
System.out.println(String.format("testGetArtifactsByHRID took %dms for %d artifacts", elapsedTime, result.size()));
assertTrue("No artifacts found", result.size() > 0);
- assertTrue(String.format("Elapsed time for artifact by hrid query took %dms. It should take less than 180ms.",
- elapsedTime), elapsedTime < 180);
+ assertTrue(
+ String.format(
+ "WAIT FOR LBA9 MIGRATION - Elapsed time for artifact by hrid query took %dms. It should take less than 180ms.",
+ elapsedTime), elapsedTime < 180);
}
@org.junit.Test
@@ -97,8 +97,10 @@ public class ArtifactQueryPerformanceTests {
System.out.println(String.format("testGetArtifactsByHRIDNoDeleted took %dms for %d artifacts", elapsedTime,
result.size()));
assertTrue("No artifacts found", result.size() > 0);
- assertTrue(String.format("Elapsed time for artifact by hrid query took %dms. It should take less than 130ms.",
- elapsedTime), elapsedTime < 130);
+ assertTrue(
+ String.format(
+ "WAIT FOR LBA9 MIGRATION - Elapsed time for artifact by hrid query took %dms. It should take less than 130ms.",
+ elapsedTime), elapsedTime < 130);
}
@org.junit.Test

Back to the top