Skip to content

Commit d26b539

Browse files
committed
fixed tests
1 parent dca67fc commit d26b539

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The package is available on Maven Central:
3737
<dependency>
3838
<groupId>com.erudika</groupId>
3939
<artifactId>lucene-s3directory</artifactId>
40-
<version>1.0.0</version>
40+
<version>1.0.0-SNAPSHOT</version>
4141
</dependency>
4242
```
4343

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,19 @@
8383
<dependency>
8484
<groupId>org.mockito</groupId>
8585
<artifactId>mockito-core</artifactId>
86-
<version>5.14.1</version>
86+
<version>5.14.2</version>
8787
<scope>test</scope>
8888
</dependency>
8989
<dependency>
9090
<groupId>org.junit.jupiter</groupId>
9191
<artifactId>junit-jupiter-api</artifactId>
92-
<version>5.11.2</version>
92+
<version>5.11.4</version>
9393
<scope>test</scope>
9494
</dependency>
9595
<dependency>
9696
<groupId>org.junit.jupiter</groupId>
9797
<artifactId>junit-jupiter-engine</artifactId>
98-
<version>5.11.2</version>
98+
<version>5.11.4</version>
9999
<scope>test</scope>
100100
</dependency>
101101
<dependency>
@@ -133,7 +133,7 @@
133133
<plugin>
134134
<groupId>org.apache.maven.plugins</groupId>
135135
<artifactId>maven-checkstyle-plugin</artifactId>
136-
<version>3.5.0</version>
136+
<version>3.6.0</version>
137137
<dependencies>
138138
<dependency>
139139
<groupId>com.puppycrawl.tools</groupId>
@@ -241,7 +241,7 @@
241241
<plugin>
242242
<groupId>org.apache.maven.plugins</groupId>
243243
<artifactId>maven-javadoc-plugin</artifactId>
244-
<version>3.10.1</version>
244+
<version>3.11.2</version>
245245
<executions>
246246
<execution>
247247
<id>attach-javadocs</id>

src/test/java/com/erudika/lucene/store/s3/S3DirectoryTest.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -370,12 +370,8 @@ private void verifyData() throws IOException {
370370
}
371371

372372
protected Directory getDirectory(Path path) throws IOException {
373-
S3Directory dir = new S3Directory(s3, TEST_BUCKET + "-" + path.getFileName(), "");
374-
try {
375-
dir.create();
376-
} catch (InterruptedException ex) {
377-
throw new RuntimeException(ex);
378-
}
373+
S3Directory dir = new S3Directory(s3, TEST_BUCKET, path.getFileName().toString());
374+
dir.create();
379375
return dir;
380376
}
381377
}

0 commit comments

Comments
 (0)