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 cfb28fe  [CI] Migrate the Jenkins CI to Github Action
cfb28fe is described below

commit cfb28fe6ef1cb82f7e8e16f3859b02d607555656
Author: Yong Zhang <[email protected]>
AuthorDate: Wed Jan 22 18:18:33 2020 +0800

    [CI] Migrate the Jenkins CI to Github Action
    
    ---
    
    Master Issue: #2242
    
    *Modifications*
    
    Migrate theJenkins CI to Github Action
    
    
    Reviewers: Enrico Olivelli <[email protected]>, Sijie Guo <None>
    
    This closes #2246 from zymap/migrate-ci
---
 .github/workflows/bookie-tests.yml                 | 52 ++++++++++++++++++++++
 .github/workflows/client-tests.yml                 | 42 +++++++++++++++++
 .github/workflows/compatibility-check-java11.yml   | 41 +++++++++++++++++
 .github/workflows/compatibility-check-java8.yml    | 41 +++++++++++++++++
 .github/workflows/integration-tests.yml            | 48 ++++++++++++++++++++
 .github/workflows/pr-validation.yml                | 42 +++++++++++++++++
 .github/workflows/remaining-tests.yml              | 41 +++++++++++++++++
 .github/workflows/replication-tests.yml            | 42 +++++++++++++++++
 .github/workflows/tls-tests.yml                    | 42 +++++++++++++++++
 ...stEntryMemTable.java => EntryMemTableTest.java} |  6 +--
 ...ingCache.java => FileInfoBackingCacheTest.java} |  4 +-
 ...Ledger.java => GcOverreplicatedLedgerTest.java} |  4 +-
 ...DirsManager.java => LedgerDirsManagerTest.java} |  2 +-
 ...stSkipListArena.java => SkipListArenaTest.java} |  2 +-
 .../{TestSyncThread.java => SyncThreadTest.java}   |  4 +-
 .../{EntryLogTest.java => TestEntryLog.java}       |  4 +-
 ...Test.java => TestInterleavedLedgerStorage.java} |  6 +--
 17 files changed, 407 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/bookie-tests.yml 
b/.github/workflows/bookie-tests.yml
new file mode 100644
index 0000000..eb41ce0
--- /dev/null
+++ b/.github/workflows/bookie-tests.yml
@@ -0,0 +1,52 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Bookie Tests
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+
+jobs:
+  test:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+
+      - name: Maven build bookkeeper-server
+        run: mvn -am -pl bookkeeper-server clean install -DskipTests 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
+
+      - name: Run EntryLogTests
+        run: mvn -pl bookkeeper-server test 
-Dtest="org.apache.bookkeeper.bookie.TestEntryLog" -DfailIfNoTests=false 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
+
+      - name: Run InterleavedLedgerStorageTest
+        run: mvn -pl bookkeeper-server test 
-Dtest="org.apache.bookkeeper.bookie.TestInterleavedLederStorage" 
-DfailIfNoTests=false -Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
+
+      - name: Run bookie tests
+        run: mvn -pl bookkeeper-server test 
-Dtest="org.apache.bookkeeper.bookie.*Test" -DfailIfNoTests=false 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git a/.github/workflows/client-tests.yml 
b/.github/workflows/client-tests.yml
new file mode 100644
index 0000000..a38b2ee
--- /dev/null
+++ b/.github/workflows/client-tests.yml
@@ -0,0 +1,42 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Client Tests
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+
+jobs:
+  test:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+      - name: Run client tests
+        run: mvn -am -pl bookkeeper-server clean install test 
-Dtest="org.apache.bookkeeper.client.**" -DfailIfNoTests=false 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git a/.github/workflows/compatibility-check-java11.yml 
b/.github/workflows/compatibility-check-java11.yml
new file mode 100644
index 0000000..de63ef1
--- /dev/null
+++ b/.github/workflows/compatibility-check-java11.yml
@@ -0,0 +1,41 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Compatibility Check Java11
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+jobs:
+  check:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.11
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.11
+      - name: Build with Maven
+        run: mvn clean package -Dstream -DskipBookKeeperServerTests 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git a/.github/workflows/compatibility-check-java8.yml 
b/.github/workflows/compatibility-check-java8.yml
new file mode 100644
index 0000000..de82ecf
--- /dev/null
+++ b/.github/workflows/compatibility-check-java8.yml
@@ -0,0 +1,41 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Compatibility Check Java8
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+jobs:
+  check:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+      - name: Build with Maven
+        run: mvn clean package spotbugs:check -Dstream 
-DskipBookKeeperServerTests -Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git a/.github/workflows/integration-tests.yml 
b/.github/workflows/integration-tests.yml
new file mode 100644
index 0000000..35536de
--- /dev/null
+++ b/.github/workflows/integration-tests.yml
@@ -0,0 +1,48 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Integration Tests
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+
+jobs:
+  test:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+      - name: Build with Maven
+        run: mvn -B clean install -Dstream -Pdocker -DskipTests 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
+
+      - name: Run metadata driver tests
+        run: mvn -B -f metadata-drivers/pom.xml test -DintegrationTests 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
+
+      - name: Run all integration tests
+        run: mvn -B -f tests/pom.xml test -Dstream -DintegrationTests 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git a/.github/workflows/pr-validation.yml 
b/.github/workflows/pr-validation.yml
new file mode 100644
index 0000000..04550e9
--- /dev/null
+++ b/.github/workflows/pr-validation.yml
@@ -0,0 +1,42 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: PR Validation
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+
+jobs:
+  check:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+      - name: Validate pull request style
+        run: mvn clean apache-rat:check checkstyle:check package 
-Ddistributedlog -Dstream -DskipTests 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git a/.github/workflows/remaining-tests.yml 
b/.github/workflows/remaining-tests.yml
new file mode 100644
index 0000000..e51b9fe
--- /dev/null
+++ b/.github/workflows/remaining-tests.yml
@@ -0,0 +1,41 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Remaining Tests
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+jobs:
+  test:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+      - name: Run remaining tests
+        run: mvn -am -pl bookkeeper-server clean install test 
-Dtest="!org.apache.bookkeeper.client.**,!org.apache.bookkeeper.bookie.**,!org.apache.bookkeeper.replication.**,!org.apache.bookkeeper.tls.**"
 -DfailIfNoTests=false -Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git a/.github/workflows/replication-tests.yml 
b/.github/workflows/replication-tests.yml
new file mode 100644
index 0000000..912c276
--- /dev/null
+++ b/.github/workflows/replication-tests.yml
@@ -0,0 +1,42 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Replication Tests
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+
+jobs:
+  test:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+      - name: Run replication tests
+        run: mvn -am -pl bookkeeper-server clean install test 
-Dtest="org.apache.bookkeeper.replication.**" -DfailIfNoTests=false 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git a/.github/workflows/tls-tests.yml b/.github/workflows/tls-tests.yml
new file mode 100644
index 0000000..47ef361
--- /dev/null
+++ b/.github/workflows/tls-tests.yml
@@ -0,0 +1,42 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: TLS Tests
+
+on:
+  pull_request:
+    branches:
+      - master
+    paths-ignore:
+      - 'site/**'
+
+
+jobs:
+  test:
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+      - name: Run tls tests
+        run: mvn -am -pl bookkeeper-server clean install test 
-Dtest="org.apache.bookkeeper.tls.**" -DfailIfNoTests=false 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestEntryMemTable.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/EntryMemTableTest.java
similarity index 98%
rename from 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestEntryMemTable.java
rename to 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/EntryMemTableTest.java
index 9e6c559..946af02 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestEntryMemTable.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/EntryMemTableTest.java
@@ -59,7 +59,7 @@ import org.junit.runners.Parameterized.Parameters;
  */
 @Slf4j
 @RunWith(Parameterized.class)
-public class TestEntryMemTable implements CacheCallback, SkipListFlusher, 
CheckpointSource {
+public class EntryMemTableTest implements CacheCallback, SkipListFlusher, 
CheckpointSource {
 
     private Class entryMemTableClass;
     private EntryMemTable memTable;
@@ -71,7 +71,7 @@ public class TestEntryMemTable implements CacheCallback, 
SkipListFlusher, Checkp
         return Arrays.asList(new Object[][] { { EntryMemTable.class }, { 
EntryMemTableWithParallelFlusher.class } });
     }
 
-    public TestEntryMemTable(Class entryMemTableClass) {
+    public EntryMemTableTest(Class entryMemTableClass) {
         this.entryMemTableClass = entryMemTableClass;
     }
 
@@ -422,7 +422,7 @@ public class TestEntryMemTable implements CacheCallback, 
SkipListFlusher, Checkp
                     for (long entryId = newNumOfEntries + 1; entryId <= 
concurrentAddOfEntries; entryId++) {
                         random.nextBytes(data);
                         boolean thisEntryAddedSuccessfully = 
(memTable.addEntry(ledgerId, entryId,
-                                ByteBuffer.wrap(data), TestEntryMemTable.this) 
!= 0);
+                                ByteBuffer.wrap(data), EntryMemTableTest.this) 
!= 0);
                         successfullyAdded.set(successfullyAdded.get() && 
thisEntryAddedSuccessfully);
                         Thread.sleep(10);
                     }
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestFileInfoBackingCache.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/FileInfoBackingCacheTest.java
similarity index 99%
rename from 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestFileInfoBackingCache.java
rename to 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/FileInfoBackingCacheTest.java
index 77f5eba..267fcbb 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestFileInfoBackingCache.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/FileInfoBackingCacheTest.java
@@ -55,14 +55,14 @@ import org.junit.Test;
  * Tests for FileInfoBackingCache.
  */
 @Slf4j
-public class TestFileInfoBackingCache {
+public class FileInfoBackingCacheTest {
     final byte[] masterKey = new byte[0];
     final File baseDir;
     final ThreadFactory threadFactory = new ThreadFactoryBuilder()
         .setNameFormat("backing-cache-test-%d").setDaemon(true).build();
     ExecutorService executor;
 
-    public TestFileInfoBackingCache() throws Exception {
+    public FileInfoBackingCacheTest() throws Exception {
         baseDir = File.createTempFile("foo", "bar");
     }
 
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestGcOverreplicatedLedger.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/GcOverreplicatedLedgerTest.java
similarity index 98%
rename from 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestGcOverreplicatedLedger.java
rename to 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/GcOverreplicatedLedgerTest.java
index bb39329..371971b 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestGcOverreplicatedLedger.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/GcOverreplicatedLedgerTest.java
@@ -56,7 +56,7 @@ import org.junit.runners.Parameterized.Parameters;
  * Test GC-overreplicated ledger.
  */
 @RunWith(Parameterized.class)
-public class TestGcOverreplicatedLedger extends LedgerManagerTestCase {
+public class GcOverreplicatedLedgerTest extends LedgerManagerTestCase {
 
     @Before
     @Override
@@ -66,7 +66,7 @@ public class TestGcOverreplicatedLedger extends 
LedgerManagerTestCase {
         activeLedgers = new SnapshotMap<Long, Boolean>();
     }
 
-    public TestGcOverreplicatedLedger(Class<? extends LedgerManagerFactory> 
lmFactoryCls) {
+    public GcOverreplicatedLedgerTest(Class<? extends LedgerManagerFactory> 
lmFactoryCls) {
         super(lmFactoryCls, 3);
     }
 
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestLedgerDirsManager.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/LedgerDirsManagerTest.java
similarity index 99%
rename from 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestLedgerDirsManager.java
rename to 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/LedgerDirsManagerTest.java
index e0a4838..6a877e4 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestLedgerDirsManager.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/LedgerDirsManagerTest.java
@@ -61,7 +61,7 @@ import org.powermock.modules.junit4.PowerMockRunner;
  */
 @RunWith(PowerMockRunner.class)
 @PrepareForTest(LedgerDirsMonitor.class)
-public class TestLedgerDirsManager {
+public class LedgerDirsManagerTest {
 
     ServerConfiguration conf;
     File curDir;
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestSkipListArena.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/SkipListArenaTest.java
similarity index 99%
rename from 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestSkipListArena.java
rename to 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/SkipListArenaTest.java
index 83e4794..873e237 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestSkipListArena.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/SkipListArenaTest.java
@@ -41,7 +41,7 @@ import org.junit.Test;
 /**
  * Test the SkipListArena class.
  */
-public class TestSkipListArena {
+public class SkipListArenaTest {
 
     class CustomConfiguration extends ServerConfiguration {
         @Override
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestSyncThread.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/SyncThreadTest.java
similarity index 99%
rename from 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestSyncThread.java
rename to 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/SyncThreadTest.java
index 22535f3..9529b27 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestSyncThread.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/SyncThreadTest.java
@@ -54,8 +54,8 @@ import org.slf4j.LoggerFactory;
 /**
  * Test a synchronization thread.
  */
-public class TestSyncThread {
-    private static final Logger LOG = 
LoggerFactory.getLogger(TestSyncThread.class);
+public class SyncThreadTest {
+    private static final Logger LOG = 
LoggerFactory.getLogger(SyncThreadTest.class);
 
     ExecutorService executor = null;
 
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/EntryLogTest.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestEntryLog.java
similarity index 99%
rename from 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/EntryLogTest.java
rename to 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestEntryLog.java
index ed52982..836fdf2 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/EntryLogTest.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestEntryLog.java
@@ -74,8 +74,8 @@ import org.slf4j.LoggerFactory;
 /**
  * Tests for EntryLog.
  */
-public class EntryLogTest {
-    private static final Logger LOG = 
LoggerFactory.getLogger(EntryLogTest.class);
+public class TestEntryLog {
+    private static final Logger LOG = 
LoggerFactory.getLogger(TestEntryLog.class);
 
     final List<File> tempDirs = new ArrayList<File>();
     final Random rand = new Random();
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/InterleavedLedgerStorageTest.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestInterleavedLedgerStorage.java
similarity index 98%
rename from 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/InterleavedLedgerStorageTest.java
rename to 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestInterleavedLedgerStorage.java
index 6416173..59afa0c 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/InterleavedLedgerStorageTest.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/TestInterleavedLedgerStorage.java
@@ -68,15 +68,15 @@ import org.slf4j.LoggerFactory;
  * Test for InterleavedLedgerStorage.
  */
 @RunWith(Parameterized.class)
-public class InterleavedLedgerStorageTest {
-    private static final Logger LOG = 
LoggerFactory.getLogger(InterleavedLedgerStorageTest.class);
+public class TestInterleavedLedgerStorage {
+    private static final Logger LOG = 
LoggerFactory.getLogger(TestInterleavedLedgerStorage.class);
 
     @Parameterized.Parameters
     public static Iterable<Boolean> elplSetting() {
         return Arrays.asList(true, false);
     }
 
-    public InterleavedLedgerStorageTest(boolean elplSetting) {
+    public TestInterleavedLedgerStorage(boolean elplSetting) {
         conf.setEntryLogSizeLimit(2048);
         conf.setEntryLogPerLedgerEnabled(elplSetting);
     }

Reply via email to