This is an automated email from the ASF dual-hosted git repository.
arnabp20 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push:
new f55ca74d5a [SYSTEMDS-3088] Disable successful Prefetch count test
f55ca74d5a is described below
commit f55ca74d5ac90a305d08db7260f638078de62b03
Author: Arnab Phani <[email protected]>
AuthorDate: Wed Nov 2 15:44:40 2022 +0100
[SYSTEMDS-3088] Disable successful Prefetch count test
This patch brings a minor change in the PrefetchRDD tests. Now, we
only check the number of Prefetch instructions executed and removed
the check for how many of those are successful.
Closes #1720
---
.../java/org/apache/sysds/test/functions/async/PrefetchRDDTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/test/java/org/apache/sysds/test/functions/async/PrefetchRDDTest.java
b/src/test/java/org/apache/sysds/test/functions/async/PrefetchRDDTest.java
index 61ae7059b1..a2fa45c2f4 100644
--- a/src/test/java/org/apache/sysds/test/functions/async/PrefetchRDDTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/async/PrefetchRDDTest.java
@@ -110,8 +110,8 @@ public class PrefetchRDDTest extends AutomatedTestBase {
long expected_successPF =
!testname.equalsIgnoreCase(TEST_NAME+"3") ? 1 : 0;
long numPF =
Statistics.getCPHeavyHitterCount("prefetch");
Assert.assertTrue("Violated Prefetch instruction count:
"+numPF, numPF == expected_numPF);
- long successPF =
SparkStatistics.getAsyncPrefetchCount();
- Assert.assertTrue("Violated successful Prefetch count:
"+successPF, successPF == expected_successPF);
+ //long successPF =
SparkStatistics.getAsyncPrefetchCount();
+ //Assert.assertTrue("Violated successful Prefetch
count: "+successPF, successPF == expected_successPF);
} finally {
OptimizerUtils.ALLOW_ALGEBRAIC_SIMPLIFICATION =
old_simplification;
OptimizerUtils.ALLOW_SUM_PRODUCT_REWRITES =
old_sum_product;