This is an automated email from the ASF dual-hosted git repository. kgyrtkirk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hive.git
commit 242487cecb0973b57f9ce0b138e66c19c60a4627 Author: Aasha Medhi <aasha.medhi2...@gmail.com> AuthorDate: Mon Jun 15 07:57:23 2020 +0000 HIVE-23677: RetryTest is unstable (Aasha Medhi reviewed by David Mollitor) Signed-off-by: Zoltan Haindrich <k...@rxd.hu> Closes apache/hive#1099 --- .../test/java/org/apache/hadoop/hive/metastore/utils/RetryTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/utils/RetryTest.java b/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/utils/RetryTest.java index dc60092..109c9e3 100644 --- a/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/utils/RetryTest.java +++ b/standalone-metastore/metastore-common/src/test/java/org/apache/hadoop/hive/metastore/utils/RetryTest.java @@ -20,12 +20,10 @@ package org.apache.hadoop.hive.metastore.utils; import org.junit.Assert; import org.junit.Test; -import org.junit.Ignore; /** * Tests for retriable interface. */ -@Ignore("unstable HIVE-23677") public class RetryTest { @Test public void testRetrySuccess() { @@ -118,7 +116,7 @@ public class RetryTest { Assert.fail(); } catch (Exception e) { Assert.assertEquals(NullPointerException.class, e.getClass()); - Assert.assertTrue(System.currentTimeMillis() - startTime > 180 * 1000); + Assert.assertTrue(System.currentTimeMillis() - startTime >= 180 * 1000); } } }