summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2023-05-10 10:58:56 +0000
committerNeil Fuller <nfuller@google.com>2023-05-10 16:31:27 +0000
commit920bf3d02b328b844952525763b27caf297a02c5 (patch)
tree0b7cd356b9dcd60f59f67829666fa67b78cb43ec
parentd83d29f5a2e7ab7ab427c650c0230f643e313133 (diff)
downloads2-geometry-library-java-920bf3d02b328b844952525763b27caf297a02c5.tar.gz
Suppress an occasionally flaky, randomized test.
Suppress an occasionally flaky, randomized test. The test sometimes "hangs", possibly due to b/6428842 where it is suggested that the randomized geometry the test generates can be "inverted", i.e. instead of a small area, the area described is everywhere except for a small area, leading to a massive area. This is a guess - the test is being suppressed on Android as this code isn't being used for anything important right now. Bug: 280346791 Test: treehugger only Change-Id: Id5ba8250839ac44b1515305431400328a7683744
-rw-r--r--tests/com/google/common/geometry/S2RegionCovererTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/com/google/common/geometry/S2RegionCovererTest.java b/tests/com/google/common/geometry/S2RegionCovererTest.java
index 51e3de4..5ff8969 100644
--- a/tests/com/google/common/geometry/S2RegionCovererTest.java
+++ b/tests/com/google/common/geometry/S2RegionCovererTest.java
@@ -74,6 +74,9 @@ public strictfp class S2RegionCovererTest extends GeometryTestCase {
}
}
+ // b/280346791 - commented in Android as this test occasionally takes a long time, probably
+ // due to an upstream bug that generates pathological test geometry cases.
+ /*
public void testRandomCaps() {
logger.info("TestRandomCaps");
@@ -115,6 +118,7 @@ public strictfp class S2RegionCovererTest extends GeometryTestCase {
checkCovering(coverer, cap, denormalized, false);
}
}
+ */
public void testSimpleCoverings() {
logger.info("TestSimpleCoverings");