Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.spanner.it;

import static com.google.cloud.spanner.testing.EmulatorSpannerHelper.isUsingEmulator;
import static com.google.cloud.spanner.testing.ExperimentalHostHelper.isExperimentalHost;
import static com.google.common.base.Strings.isNullOrEmpty;
import static com.google.common.truth.Truth.assertThat;
import static java.util.Arrays.asList;
Expand Down Expand Up @@ -143,6 +144,9 @@ public void badQuery() {
exception.getMessage().contains("column \"apples\" does not exist"));
// See https://www.postgresql.org/docs/current/errcodes-appendix.html
// '42703' == undefined_column
assumeFalse(
"Skipping PGErrorCode check on experimental host due to b/473270453",
isExperimentalHost());
assertEquals("42703", exception.getPostgreSQLErrorCode());
} else {
assertTrue(
Expand Down
Loading