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 <[email protected]>
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 <[email protected]>
    
    Reviewers: Enrico Olivelli <[email protected]>, Sijie Guo 
<[email protected]>
    
    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
[email protected].

Reply via email to