File tree Expand file tree Collapse file tree 2 files changed +7
-18
lines changed
samples/spring-data-mybatis/googlesql
src/test/java/com/google/cloud/spanner/sample Expand file tree Collapse file tree 2 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 32
32
<scope >import</scope >
33
33
<type >pom</type >
34
34
</dependency >
35
+ <dependency >
36
+ <groupId >com.google.cloud</groupId >
37
+ <artifactId >google-cloud-spanner-bom</artifactId >
38
+ <version >6.91.1</version >
39
+ <scope >import</scope >
40
+ <type >pom</type >
41
+ </dependency >
35
42
<dependency >
36
43
<groupId >com.google.cloud</groupId >
37
44
<artifactId >libraries-bom</artifactId >
62
69
</dependency >
63
70
64
71
<!-- Add the Spanner JDBC driver. -->
65
- <!-- TODO: Remove the explicit versions when we have a new BOM release. -->
66
- <dependency >
67
- <groupId >com.google.cloud</groupId >
68
- <artifactId >google-cloud-spanner</artifactId >
69
- <version >6.91.1</version >
70
- </dependency >
71
72
<dependency >
72
73
<groupId >com.google.cloud</groupId >
73
74
<artifactId >google-cloud-spanner-jdbc</artifactId >
74
- <version >2.29.1</version >
75
75
<exclusions >
76
76
<exclusion >
77
77
<groupId >com.google.api.grpc</groupId >
Original file line number Diff line number Diff line change @@ -850,17 +850,6 @@ public void testRunApplication() {
850
850
System .setProperty ("spanner.additional_properties" , "usePlainText=true" );
851
851
Application .main (new String [] {});
852
852
853
- assertEquals (
854
- 39 ,
855
- mockSpanner .getRequestsOfType (ExecuteSqlRequest .class ).stream ()
856
- .filter (
857
- request ->
858
- !request .getSql ().equals ("SELECT 1" )
859
- && !request
860
- .getSql ()
861
- .equals (
862
- "SELECT * FROM singers ORDER BY sha256(last_name::bytea) LIMIT 1" ))
863
- .count ());
864
853
assertEquals (3 , mockSpanner .countRequestsOfType (ExecuteBatchDmlRequest .class ));
865
854
assertEquals (6 , mockSpanner .countRequestsOfType (CommitRequest .class ));
866
855
You can’t perform that action at this time.
0 commit comments