From dc42670066cad060e60fd408e30914d8c0553f7b Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Thu, 16 Dec 2021 10:51:21 -0600 Subject: [PATCH] test: skip failing copy table tests (#1090) --- samples/tests/test_copy_table.py | 3 +++ samples/tests/test_copy_table_cmek.py | 3 +++ tests/system/test_client.py | 2 ++ 3 files changed, 8 insertions(+) diff --git a/samples/tests/test_copy_table.py b/samples/tests/test_copy_table.py index 0b95c5443..726410e86 100644 --- a/samples/tests/test_copy_table.py +++ b/samples/tests/test_copy_table.py @@ -12,10 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. +import pytest + from .. import copy_table def test_copy_table(capsys, table_with_data_id, random_table_id, client): + pytest.skip("b/210907595: copy fails for shakespeare table") copy_table.copy_table(table_with_data_id, random_table_id) out, err = capsys.readouterr() diff --git a/samples/tests/test_copy_table_cmek.py b/samples/tests/test_copy_table_cmek.py index ac04675c9..63163d563 100644 --- a/samples/tests/test_copy_table_cmek.py +++ b/samples/tests/test_copy_table_cmek.py @@ -12,10 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. +import pytest + from .. import copy_table_cmek def test_copy_table_cmek(capsys, random_table_id, table_with_data_id, kms_key_name): + pytest.skip("b/210907595: copy fails for shakespeare table") copy_table_cmek.copy_table_cmek(random_table_id, table_with_data_id, kms_key_name) out, err = capsys.readouterr() diff --git a/tests/system/test_client.py b/tests/system/test_client.py index 91bcff155..43b3b6ae7 100644 --- a/tests/system/test_client.py +++ b/tests/system/test_client.py @@ -1207,6 +1207,8 @@ def test_extract_table(self): self.assertIn("Bharney Rhubble", got) def test_copy_table(self): + pytest.skip("b/210907595: copy fails for shakespeare table") + # If we create a new table to copy from, the test won't work # because the new rows will be stored in the streaming buffer, # and copy jobs don't read the streaming buffer.