Skip to content

Commit

Permalink
Merge pull request #4 from halibobor/dev
Browse files Browse the repository at this point in the history
release:1.23.2
  • Loading branch information
halibobo1205 authored Sep 1, 2022
2 parents 764d2ab + 074a90d commit ef04158
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean package -P release
2 changes: 1 addition & 1 deletion leveldb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<dependency>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
<version>1.1.2.6 </version>
<version>1.1.8.4</version>
<optional>true</optional>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void testEmptyBatch()
assertEquals(12, batch.approximateSize());
batch.append(source);
batch.append(source);
assertEquals(source.approximateSize() * 2 -12, batch.approximateSize());
assertEquals(source.approximateSize() * 2 - 12, batch.approximateSize());
batch.clear();
assertEquals(12, batch.approximateSize());
db.write(batch);
Expand Down

0 comments on commit ef04158

Please sign in to comment.