phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sama...@apache.org
Subject phoenix git commit: PHOENIX-3062 Ignore PhoenixTracingEndToEndIT till consensus is reached
Date Fri, 03 Mar 2017 00:06:51 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 f6f4930a7 -> 93a3412d8


PHOENIX-3062 Ignore PhoenixTracingEndToEndIT till consensus is reached


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/93a3412d
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/93a3412d
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/93a3412d

Branch: refs/heads/4.x-HBase-1.1
Commit: 93a3412d8ef981718a6a325b6c1a499fb8a73468
Parents: f6f4930
Author: Samarth <samarth.jain@salesforce.com>
Authored: Thu Mar 2 16:06:44 2017 -0800
Committer: Samarth <samarth.jain@salesforce.com>
Committed: Thu Mar 2 16:06:44 2017 -0800

----------------------------------------------------------------------
 .../org/apache/phoenix/trace/PhoenixTracingEndToEndIT.java     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/93a3412d/phoenix-core/src/it/java/org/apache/phoenix/trace/PhoenixTracingEndToEndIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/trace/PhoenixTracingEndToEndIT.java
b/phoenix-core/src/it/java/org/apache/phoenix/trace/PhoenixTracingEndToEndIT.java
index 19fc75f..5e05fe8 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/trace/PhoenixTracingEndToEndIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/trace/PhoenixTracingEndToEndIT.java
@@ -56,7 +56,9 @@ import com.google.common.collect.ImmutableMap;
  * Test that the logging sink stores the expected metrics/stats
  */
 
-public class PhoenixTracingEndToEndIT extends BaseTracingTestIT {
+// Marking this class as abstract till PHOENIX-3062 is fixed.
+// FIXME: PHOENIX-3062
+public abstract class PhoenixTracingEndToEndIT extends BaseTracingTestIT {
 
     private static final Log LOG = LogFactory.getLog(PhoenixTracingEndToEndIT.class);
     private static final int MAX_RETRIES = 10;
@@ -137,7 +139,7 @@ public class PhoenixTracingEndToEndIT extends BaseTracingTestIT {
         receiver.receiveSpan(span);
 
         // wait for the tracer to actually do the write
-        latch.await();
+        assertTrue("Sink not flushed. commit() not called on the connection", latch.await(60,
TimeUnit.SECONDS));
 
         // look for the writes to make sure they were made
         Connection conn = getConnectionWithoutTracing();


Mime
View raw message