Commit fe3845d
committed
test(spanner): fix MockAutoTaggingTest test environment pollution
Cleans up static SpannerOptions.environment pollution between test executions in the test suite by explicitly resetting to the default environment in @before and @after methods. This ensures that System properties enabling or disabling auto-tagging are correctly picked up during test runs.1 parent 72d4ab6 commit fe3845d
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- java-spanner/google-cloud-spanner/src/test/java/com/google/cloud/spanner
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments