Repository navigation
Commit cfe728e
authored
fix(spanner): restore setCall overload for stream test compatibility (#14885)
Merging PR #14770 and PR #14776 concurrently broke the build on main.
One PR added unit tests that configure mock streams using a two-argument
setCall method to indicate whether a transaction is inlined, while the
other PR removed that parameter because production code now configures
this during stream construction.
This change restores the two-argument setCall method for testing and
keeps the inlined transaction state configurable during test setup.1 parent 48e1c30 commit cfe728e
1 file changed
Lines changed: 9 additions & 1 deletion
File tree
- java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
| |||
0 commit comments