Merge branch 'main' into sharding

sharding
Mike Barry 2022-06-08 05:16:14 -04:00
commit 188d441c83
3 zmienionych plików z 14 dodań i 11 usunięć

Wyświetl plik

@ -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);
}
}
}

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>