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

Commit 2e5579b

Browse files
chore: temporarily disable ITQueueTest
1 parent 7aa4d90 commit 2e5579b

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITQueueTest.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.google.cloud.spanner.it;
1818

19-
import static com.google.common.base.Strings.isNullOrEmpty;
2019
import static com.google.common.truth.Truth.assertThat;
2120
import static org.junit.Assert.assertThrows;
2221
import static org.junit.Assume.assumeTrue;
@@ -66,22 +65,14 @@ public static List<DialectTestParameter> data() {
6665

6766
private static DatabaseClient client;
6867

69-
private static boolean isUsingCloudDevel() {
70-
String jobType = System.getenv("JOB_TYPE");
71-
72-
// Assumes that the jobType contains the string "cloud-devel" to signal that
73-
// the environment is cloud-devel.
74-
return !isNullOrEmpty(jobType) && jobType.contains("cloud-devel");
75-
}
76-
7768
private Struct readRow(String queue, Key key, String... columns) {
7869
return client.singleUse(TimestampBound.strong()).readRow(queue, key, Arrays.asList(columns));
7970
}
8071

8172
@BeforeClass
8273
public static void setUpTestSuite() {
8374
// TODO: remove once the feature is fully enabled in prod
84-
assumeTrue("Queue is currently only supported in cloud-devel", isUsingCloudDevel());
75+
assumeTrue("Queue tests are temporarily disabled", false);
8576
Database googleStandardSQLDatabase =
8677
env.getTestHelper().createTestDatabase(GOOGLE_STANDARD_SQL_SCHEMA);
8778
googleStandardSQLClient = env.getTestHelper().getDatabaseClient(googleStandardSQLDatabase);

0 commit comments

Comments
 (0)