GEODE-3150: Adding a timeout to hanging test This test was hanging the build, adding a timeout so that the test will fail and move on if it takes too long.
Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/38ad3044 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/38ad3044 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/38ad3044 Branch: refs/heads/feature/GEODE-3109 Commit: 38ad30440f84669c054440e9b5398313c84152f5 Parents: f1f4322 Author: Dan Smith <upthewatersp...@apache.org> Authored: Wed Jun 28 14:33:11 2017 -0700 Committer: Dan Smith <upthewatersp...@apache.org> Committed: Wed Jun 28 14:42:08 2017 -0700 ---------------------------------------------------------------------- .../cache/partitioned/PersistentPartitionedRegionDUnitTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/38ad3044/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java ---------------------------------------------------------------------- diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java index edd86e7..e1c9e8a 100644 --- a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java +++ b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java @@ -2117,7 +2117,7 @@ public class PersistentPartitionedRegionDUnitTest extends PersistentPartitionedR closePR(vm1); } - @Test + @Test(timeout = 60000) public void testDiskConflictWithCoLocation() throws Exception { Host host = Host.getHost(0); VM vm0 = host.getVM(0);