Commit 7ef0ded
fix(spanner): ensure defers run at the right time in tests (#9759)
* fix(spanner): ensure defers run at the right time in tests
Defers are executed at the end of the func, not at the end of the loop.
This adds func closures to ensure that they execute within the single
test.
* chore(spanner): convert closures to subtests
---------
Co-authored-by: rahul2393 <irahul@google.com>1 parent 90902ff commit 7ef0ded
1 file changed
Lines changed: 343 additions & 302 deletions
0 commit comments