Skip to content

Commit 15a2092

Browse files
authored
Use type long to calculate memory (#6624)
1 parent 644c058 commit 15a2092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/junit4/generic/src/test/java/generic/CmdModifierTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public class CmdModifierTest {
2525

2626
// spotless:off
2727
// memory {
28-
private long memoryInBytes = 32 * 1024 * 1024;
28+
private long memoryInBytes = 32l * 1024l * 1024l;
2929

30-
private long memorySwapInBytes = 64 * 1024 * 1024;
30+
private long memorySwapInBytes = 64l * 1024l * 1024l;
3131

3232
@Rule
3333
public GenericContainer memoryLimitedRedis = new GenericContainer<>(DockerImageName.parse("redis:3.0.2"))

0 commit comments

Comments
 (0)