Skip to content

Commit c3fd58c

Browse files
TimvdLippekolea2
authored andcommitted
---
yaml --- r: 20279 b: refs/heads/autosynth-scheduler c: ea2c8e4 h: refs/heads/master i: 20277: dde0dfb 20275: 1710427 20271: 272cb65
1 parent 5d3513c commit c3fd58c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ refs/heads/autosynth-kms: 2828edfe3d2c53dd6e71912eae8a53c87bf40c87
137137
refs/heads/autosynth-language: c3d990dd34d81e7e935041e7147fb9dd27f8a557
138138
refs/heads/autosynth-os-login: 092fdbed6d5317948f92b708e9f50dedd89fc666
139139
refs/heads/autosynth-redis: 9e1fe503973c7b4a9ba26afb1fcddc2a57ba795a
140-
refs/heads/autosynth-scheduler: dba084890ccccff94f6d97f9ceb0d7a9c8017a33
140+
refs/heads/autosynth-scheduler: ea2c8e4b507be93db613b393031e387f0e487f9d
141141
refs/heads/autosynth-spanner: 9bff86d057df31e04c76d72865e8e073ac5794fb
142142
refs/heads/autosynth-speech: 75d6c62a9d07d3a3642980502a25d07fbde0f232
143143
refs/heads/autosynth-tasks: b0cdb991f3f75345151a3f68db1aab273dfc069b

branches/autosynth-scheduler/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/BaseSessionPoolTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.google.cloud.spanner;
1818

1919
import static org.mockito.Mockito.any;
20+
import static org.mockito.Mockito.anyLong;
2021
import static org.mockito.Mockito.doReturn;
2122
import static org.mockito.Mockito.mock;
2223
import static org.mockito.Mockito.spy;
@@ -45,8 +46,7 @@ public ScheduledExecutorService get() {
4546
// To prevent maintenance loop from running.
4647
doReturn(mockFuture)
4748
.when(mockExecutor)
48-
.scheduleAtFixedRate(
49-
any(Runnable.class), any(Long.class), any(Long.class), any(TimeUnit.class));
49+
.scheduleAtFixedRate(any(Runnable.class), anyLong(), anyLong(), any(TimeUnit.class));
5050
return mockExecutor;
5151
}
5252

0 commit comments

Comments
 (0)