File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/test/java/com/google/cloud/pubsublite/kafka Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 17
17
<dependency >
18
18
<groupId >com.google.api.grpc</groupId >
19
19
<artifactId >proto-google-cloud-pubsublite-v1</artifactId >
20
- <version >0.7 .0</version >
20
+ <version >0.8 .0</version >
21
21
</dependency >
22
22
<dependency >
23
23
<groupId >com.google.cloud</groupId >
24
24
<artifactId >google-cloud-pubsublite</artifactId >
25
- <version >0.7 .0</version >
25
+ <version >0.8 .0</version >
26
26
</dependency >
27
27
<dependency >
28
28
<groupId >org.apache.kafka</groupId >
Original file line number Diff line number Diff line change 31
31
import java .time .Duration ;
32
32
import java .util .List ;
33
33
import org .apache .kafka .common .PartitionInfo ;
34
- import org .apache .kafka .common .errors .BrokerNotAvailableException ;
34
+ import org .apache .kafka .common .errors .InvalidRequestException ;
35
35
import org .junit .Before ;
36
36
import org .junit .Test ;
37
37
import org .junit .runner .RunWith ;
@@ -71,7 +71,7 @@ public void partitionsForFailure() {
71
71
ApiFutures .immediateFailedFuture (
72
72
new CheckedApiException (StatusCode .Code .FAILED_PRECONDITION ).underlying ));
73
73
assertThrows (
74
- BrokerNotAvailableException .class ,
74
+ InvalidRequestException .class ,
75
75
() -> shared .partitionsFor (example (TopicPath .class ), Duration .ofMillis (10 )));
76
76
}
77
77
You can’t perform that action at this time.
0 commit comments