Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit b35e892

Browse files
ci(spanner): Skip failing Directpath tests due to missing trailers
1 parent d79855a commit b35e892

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

google-cloud-spanner/src/test/java/com/google/cloud/spanner/ITTransactionRetryTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ public class ITTransactionRetryTest {
3636
@Test
3737
public void TestRetryInfo() {
3838
assumeFalse("emulator does not support parallel transaction", isUsingEmulator());
39+
// TODO(sakthivelmani) - Re-enable once b/422916293 is resolved
40+
assumeFalse(
41+
"Skipping the test due to a known bug b/422916293",
42+
env.getTestHelper().getOptions().isEnableDirectAccess());
3943

4044
// Creating a database with the table which contains INT64 columns
4145
Database db =

google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/it/ITRetryDmlAsPartitionedDmlTest.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ public static void setupTestData() {
8686

8787
@Test
8888
public void testDmlFailsIfMutationLimitExceeded() {
89+
// TODO(sakthivelmani) - Re-enable once b/422916293 is resolved
90+
assumeFalse(
91+
"Skipping the test due to a known bug b/422916293",
92+
env.getTestHelper().getOptions().isEnableDirectAccess());
8993
try (Connection connection = createConnection()) {
9094
connection.setAutocommit(true);
9195
assertThrows(
@@ -98,6 +102,10 @@ public void testDmlFailsIfMutationLimitExceeded() {
98102

99103
@Test
100104
public void testRetryDmlAsPartitionedDml() throws Exception {
105+
// TODO(sakthivelmani) - Re-enable once b/422916293 is resolved
106+
assumeFalse(
107+
"Skipping the test due to a known bug b/422916293",
108+
env.getTestHelper().getOptions().isEnableDirectAccess());
101109
try (Connection connection = createConnection()) {
102110
connection.setAutocommit(true);
103111
connection.setAutocommitDmlMode(
@@ -138,6 +146,10 @@ public void retryDmlAsPartitionedDmlFinished(
138146

139147
@Test
140148
public void testRetryDmlAsPartitionedDml_failsForLargeInserts() throws Exception {
149+
// TODO(sakthivelmani) - Re-enable once b/422916293 is resolved
150+
assumeFalse(
151+
"Skipping the test due to a known bug b/422916293",
152+
env.getTestHelper().getOptions().isEnableDirectAccess());
141153
try (Connection connection = createConnection()) {
142154
connection.setAutocommit(true);
143155
connection.setAutocommitDmlMode(

0 commit comments

Comments
 (0)