klcopp commented on a change in pull request #2158:
URL: https://github.com/apache/hive/pull/2158#discussion_r610427699
##########
File path:
ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestCompactionMetrics.java
##########
@@ -415,60 +415,64 @@ public void testDBMetrics() throws Exception {
String dbName = "default";
String tblName = "dcamc";
Table t = newTable(dbName, tblName, false);
- burnThroughTransactions(t.getDbName(), t.getTableName(), 24);
- // create and commit txn with non-empty txn_components
+ long start = System.currentTimeMillis() - 1000L;
Review comment:
Why subtract a second here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]