Commit df67a3c
authored
test(spanner): fix MockAutoTaggingTest test environment pollution (#13268)
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 df67a3c
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 | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments