Disabled benchmark tests to exclude in battery

Signed-off-by: leriomaggio <valeriomaggio@gmail.com>
This commit is contained in:
leriomaggio
2021-09-14 07:57:13 +01:00
parent 9562064213
commit d03bdb2773

View File

@@ -23,7 +23,7 @@ public class CardDbPerformanceTests extends CardDbTestCase {
this.fullDbCardNames.add(card.getName()); this.fullDbCardNames.add(card.getName());
} }
@Test @Test(enabled = false) // disabled to not run in battery
public void testBenchmarkFullDbGetCardLegacyImplementation() { public void testBenchmarkFullDbGetCardLegacyImplementation() {
int nRuns = 100; int nRuns = 100;
long averageTime = 0; long averageTime = 0;
@@ -48,7 +48,7 @@ public class CardDbPerformanceTests extends CardDbTestCase {
System.out.println("[LEGACY] Worst Time (in sec): " + ((double) maxTime)/ 1000); System.out.println("[LEGACY] Worst Time (in sec): " + ((double) maxTime)/ 1000);
} }
@Test @Test(enabled = false) // disabled to not run in battery
public void testBenchmarkFullDbGetCardNewDbImplementation() { public void testBenchmarkFullDbGetCardNewDbImplementation() {
int nRuns = 100; int nRuns = 100;
long averageTime = 0; long averageTime = 0;