File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
google-cloud-spanner/src/test/java/com/google/cloud/spanner Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -332,11 +332,11 @@ public void testToBuilder() {
332
332
.build ());
333
333
assertToBuilderRoundtrip (
334
334
SessionPoolOptions .newBuilder ()
335
- .setMaxSessions (ThreadLocalRandom .current ().nextInt (1000 ))
335
+ .setMaxSessions (ThreadLocalRandom .current ().nextInt (1 , 1000 ))
336
336
.build ());
337
337
assertToBuilderRoundtrip (
338
338
SessionPoolOptions .newBuilder ()
339
- .setIncStep (ThreadLocalRandom .current ().nextInt (1000 ))
339
+ .setIncStep (ThreadLocalRandom .current ().nextInt (1 , 1000 ))
340
340
.build ());
341
341
assertToBuilderRoundtrip (
342
342
SessionPoolOptions .newBuilder ()
@@ -393,7 +393,7 @@ public void testToBuilder() {
393
393
assertToBuilderRoundtrip (
394
394
SessionPoolOptions .newBuilder ()
395
395
.setAcquireSessionTimeout (
396
- Duration .ofMillis (ThreadLocalRandom .current ().nextLong (10000 )))
396
+ Duration .ofMillis (ThreadLocalRandom .current ().nextLong (1 , 10000 )))
397
397
.build ());
398
398
assertToBuilderRoundtrip (
399
399
SessionPoolOptions .newBuilder ()
You can’t perform that action at this time.
0 commit comments