You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by si...@apache.org on 2018/01/24 18:51:53 UTC

[bookkeeper] branch master updated: CompactionTest: call storage.shutdown() prior to recreating

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b36898  CompactionTest: call storage.shutdown() prior to recreating
9b36898 is described below

commit 9b36898dbdfed3fa95a00407d29413a5f8466c04
Author: Andrey Yegorov <ay...@salesforce.com>
AuthorDate: Wed Jan 24 10:51:47 2018 -0800

    CompactionTest: call storage.shutdown() prior to recreating
    
    (bug W-2962634)
    Signed-off-by: Andrey Yegorov <ayegorovsalesforce.com>
    [Ported to master]
    Signed-off-by: Samuel Just <sjustsalesforce.com>
    
    Author: Andrey Yegorov <ay...@salesforce.com>
    
    Reviewers: Enrico Olivelli <eo...@gmail.com>, Sijie Guo <si...@apache.org>
    
    This closes #1036 from athanatos/forupstream/tests/compaction
---
 .../src/test/java/org/apache/bookkeeper/bookie/CompactionTest.java       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/CompactionTest.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/CompactionTest.java
index 1a02b21..6873a5c 100644
--- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/CompactionTest.java
+++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/CompactionTest.java
@@ -712,6 +712,7 @@ public abstract class CompactionTest extends BookKeeperClusterTestCase {
         ledgers.add(4L);
         storage.setMasterKey(4, key);
         storage.addEntry(genEntry(4, 1, ENTRY_SIZE)); // force ledger 1 page to flush
+        storage.shutdown();
 
         storage = new InterleavedLedgerStorage();
         storage.initialize(

-- 
To stop receiving notification emails like this one, please contact
sijie@apache.org.