kopia lustrzana https://github.com/onthegomap/planetiler
Merge branch 'main' into sharding
commit
188d441c83
|
@ -146,14 +146,17 @@ public abstract class LongLongMapTest {
|
|||
assertTrue(usage > 60_000_000_000L, sizeDescription);
|
||||
assertTrue(usage < 100_000_000_000L, sizeDescription);
|
||||
}
|
||||
LongLongMap map = LongLongMap.from(type, storage, params);
|
||||
try (var writer = map.newWriter()) {
|
||||
writer.put(2, 3);
|
||||
writer.put(4, 5);
|
||||
}
|
||||
if (type != LongLongMap.Type.NOOP) {
|
||||
assertEquals(3, map.get(2), variant);
|
||||
assertEquals(5, map.get(4), variant);
|
||||
try (LongLongMap map = LongLongMap.from(type, storage, params)) {
|
||||
try (var writer = map.newWriter()) {
|
||||
writer.put(2, 3);
|
||||
writer.put(4, 5);
|
||||
}
|
||||
if (type != LongLongMap.Type.NOOP) {
|
||||
assertEquals(3, map.get(2), variant);
|
||||
assertEquals(5, map.get(4), variant);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.0.0-M6</version>
|
||||
<version>3.0.0-M7</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -100,7 +100,7 @@
|
|||
<dependency>
|
||||
<groupId>org.commonmark</groupId>
|
||||
<artifactId>commonmark</artifactId>
|
||||
<version>0.18.2</version>
|
||||
<version>0.19.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
|
@ -211,7 +211,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.0.0-M6</version>
|
||||
<version>3.0.0-M7</version>
|
||||
<!-- by default surefire excludes tests on nested classes https://github.com/junit-team/junit5/issues/1377 -->
|
||||
<configuration>
|
||||
<excludes>
|
||||
|
|
Ładowanie…
Reference in New Issue