Repository navigation
Commit decdf94
authored
test(gax-grpc): run the full unit test suite in CI (#14573)
Fixes #14572.
The Surefire `<test>` value in gax-grpc ended with an entry without a
`!`. Surefire treats that as an inclusion pattern, so only
`InstantiatingGrpcChannelProviderTest#testLogDirectPathMisconfigWrongCredential`
ran in CI.
- **`gax-grpc/pom.xml`:** drop the stray inclusion and keep both
existing exclusions.
-
**`InstantiatingGrpcChannelProviderTest#testLogDirectPathMisconfigWrongCredential`:**
set `.setEnvProvider(name -> null)`, so the test no longer depends on
the machine's `GOOGLE_CLOUD_DISABLE_DIRECT_PATH`. With it set to `true`,
the test fails because the provider takes the "DirectPath disabled"
branch. It passed on GitHub runners only because the variable isn't set
there.
**Testing:** `mvn test -pl gax-grpc` now runs 209 tests, all passing,
locally on JDK 21. Before, it ran 1.1 parent 6bb477b commit decdf94
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- sdk-platform-java/gax-java/gax-grpc
- src/test/java/com/google/api/gax/grpc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | | - | |
| 85 | + | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
| 713 | + | |
713 | 714 | | |
714 | 715 | | |
715 | 716 | | |
| |||
0 commit comments