Skip to content

Commit 80ec6f7

Browse files
committed
test: remove specific tests for mux/regular sessions
Remove separate tests for using multiplexed or regular sessions, and instead only test for using the default.
1 parent 5b50313 commit 80ec6f7

File tree

6 files changed

+0
-245
lines changed

6 files changed

+0
-245
lines changed

.github/sync-repo-settings.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ branchProtectionRules:
1414
- units (8)
1515
- units (11)
1616
- 'Kokoro - Test: Integration'
17-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
1817
- cla/google
1918
- checkstyle
2019
- compile (8)
2120
- compile (11)
22-
- units-with-multiplexed-session (8)
23-
- units-with-multiplexed-session (11)
2421
- unmanaged_dependency_check
2522
- library_generation
2623
- pattern: 3.3.x
@@ -154,13 +151,10 @@ branchProtectionRules:
154151
- units (8)
155152
- units (11)
156153
- 'Kokoro - Test: Integration'
157-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
158154
- cla/google
159155
- checkstyle
160156
- compile (8)
161157
- compile (11)
162-
- units-with-multiplexed-session (8)
163-
- units-with-multiplexed-session (11)
164158
- pattern: 6.88.x
165159
isAdminEnforced: true
166160
requiredApprovingReviewCount: 1
@@ -173,13 +167,10 @@ branchProtectionRules:
173167
- units (8)
174168
- units (11)
175169
- 'Kokoro - Test: Integration'
176-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
177170
- cla/google
178171
- checkstyle
179172
- compile (8)
180173
- compile (11)
181-
- units-with-multiplexed-session (8)
182-
- units-with-multiplexed-session (11)
183174
- unmanaged_dependency_check
184175
- library_generation
185176
- pattern: 6.96.x
@@ -194,13 +185,10 @@ branchProtectionRules:
194185
- units (8)
195186
- units (11)
196187
- 'Kokoro - Test: Integration'
197-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
198188
- cla/google
199189
- checkstyle
200190
- compile (8)
201191
- compile (11)
202-
- units-with-multiplexed-session (8)
203-
- units-with-multiplexed-session (11)
204192
- unmanaged_dependency_check
205193
- library_generation
206194
- pattern: 6.95.x
@@ -215,13 +203,10 @@ branchProtectionRules:
215203
- units (8)
216204
- units (11)
217205
- 'Kokoro - Test: Integration'
218-
- 'Kokoro - Test: Integration with Multiplexed Sessions'
219206
- cla/google
220207
- checkstyle
221208
- compile (8)
222209
- compile (11)
223-
- units-with-multiplexed-session (8)
224-
- units-with-multiplexed-session (11)
225210
- unmanaged_dependency_check
226211
- library_generation
227212
permissionRules:

.github/workflows/ci.yaml

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -36,41 +36,6 @@ jobs:
3636
- run: .kokoro/build.sh
3737
env:
3838
JOB_TYPE: test
39-
units-with-multiplexed-session:
40-
runs-on: ubuntu-latest
41-
strategy:
42-
fail-fast: false
43-
matrix:
44-
java: [ 11, 17, 21 ]
45-
steps:
46-
- uses: actions/checkout@v4
47-
- uses: actions/setup-java@v3
48-
with:
49-
distribution: temurin
50-
java-version: ${{matrix.java}}
51-
- run: java -version
52-
- run: .kokoro/build.sh
53-
env:
54-
JOB_TYPE: test
55-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_PARTITIONED_OPS: true
56-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW: true
57-
units-with-regular-session:
58-
runs-on: ubuntu-latest
59-
strategy:
60-
fail-fast: false
61-
matrix:
62-
java: [ 11, 17, 21 ]
63-
steps:
64-
- uses: actions/checkout@v4
65-
- uses: actions/setup-java@v3
66-
with:
67-
distribution: temurin
68-
java-version: ${{matrix.java}}
69-
- run: java -version
70-
- run: .kokoro/build.sh
71-
env:
72-
JOB_TYPE: test
73-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS: false
7439
units-java8:
7540
# Building using Java 17 and run the tests with Java 8 runtime
7641
name: "units (8)"
@@ -90,48 +55,6 @@ jobs:
9055
- run: .kokoro/build.sh
9156
env:
9257
JOB_TYPE: test
93-
units-with-multiplexed-session8:
94-
# Building using Java 17 and run the tests with Java 8 runtime
95-
name: "units-with-multiplexed-session (8)"
96-
runs-on: ubuntu-latest
97-
steps:
98-
- uses: actions/checkout@v4
99-
- uses: actions/setup-java@v3
100-
with:
101-
java-version: 8
102-
distribution: temurin
103-
- run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
104-
shell: bash
105-
- uses: actions/setup-java@v3
106-
with:
107-
java-version: 17
108-
distribution: temurin
109-
- run: .kokoro/build.sh
110-
env:
111-
JOB_TYPE: test
112-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS: true
113-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_PARTITIONED_OPS: true
114-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW: true
115-
units-with-regular-session8:
116-
# Building using Java 17 and run the tests with Java 8 runtime
117-
name: "units-with-regular-session (8)"
118-
runs-on: ubuntu-latest
119-
steps:
120-
- uses: actions/checkout@v4
121-
- uses: actions/setup-java@v3
122-
with:
123-
java-version: 8
124-
distribution: temurin
125-
- run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
126-
shell: bash
127-
- uses: actions/setup-java@v3
128-
with:
129-
java-version: 17
130-
distribution: temurin
131-
- run: .kokoro/build.sh
132-
env:
133-
JOB_TYPE: test
134-
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS: false
13558
windows:
13659
runs-on: windows-latest
13760
steps:

.github/workflows/integration-tests-against-emulator-with-regular-session.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.kokoro/build.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -119,21 +119,6 @@ integration-directpath-enabled)
119119
verify
120120
RETURN_CODE=$?
121121
;;
122-
integration-multiplexed-sessions-enabled)
123-
mvn -B ${INTEGRATION_TEST_ARGS} \
124-
-ntp \
125-
-Penable-integration-tests \
126-
-Djava.net.preferIPv4Stack=true \
127-
-DtrimStackTrace=false \
128-
-Dclirr.skip=true \
129-
-Denforcer.skip=true \
130-
-Dmaven.main.skip=true \
131-
-Dspanner.gce.config.project_id=gcloud-devel \
132-
-Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests-multiplexed-sessions \
133-
-fae \
134-
verify
135-
RETURN_CODE=$?
136-
;;
137122
integration-cloud-devel)
138123
mvn -B ${INTEGRATION_TEST_ARGS} \
139124
-ntp \

.kokoro/presubmit/integration-multiplexed-sessions-enabled.cfg

Lines changed: 0 additions & 48 deletions
This file was deleted.

.kokoro/presubmit/integration-regular-sessions-enabled.cfg

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)