tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anew <...@git.apache.org>
Subject [GitHub] incubator-tephra pull request #61: TEPHRA-263 Enforce TTL, regardless of any...
Date Sat, 16 Sep 2017 14:41:19 GMT
Github user anew commented on a diff in the pull request:

    https://github.com/apache/incubator-tephra/pull/61#discussion_r139287848
  
    --- Diff: tephra-hbase-compat-1.0/src/test/java/org/apache/tephra/hbase/coprocessor/TransactionVisibilityFilterTest.java
---
    @@ -290,44 +290,52 @@ private void runFilteringTest(TxFilterFactory txFilterFactory,
       @Test
       public void testTTLFiltering() throws Exception {
         Map<byte[], Long> ttls = Maps.newTreeMap(Bytes.BYTES_COMPARATOR);
    -    ttls.put(FAM, 10L);
    -    ttls.put(FAM2, 30L);
    +    ttls.put(FAM, 100L);
    +    ttls.put(FAM2, 300L);
         ttls.put(FAM3, 0L);
     
    +    // start a transaction to populate the in-progress list. It should not affect TTL
calculations
    +    txManager.startShort();
    --- End diff --
    
    abort this tx at the end of the test?


---

Mime
View raw message