Skip to content

Commit

Permalink
fix(spanner): ensure defers run at the right time in tests (#9759)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
egonelbre and rahul2393 authored Aug 21, 2024
1 parent 90902ff commit 7ef0ded
Showing 1 changed file with 343 additions and 302 deletions.
Loading

0 comments on commit 7ef0ded

Please sign in to comment.