Skip to content

Commit 4b97db4

Browse files
committed
TST: disable gbq tests again
1 parent 5959fe1 commit 4b97db4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pandas/tests/io/test_gbq.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def test_generate_bq_schema_deprecated():
253253
gbq.generate_bq_schema(df)
254254

255255

256-
@pytest.mark.single
256+
@pytest.mark.xfail(run=False, reason="intermittent failures")
257257
class TestGBQConnectorIntegrationWithLocalUserAccountAuth(tm.TestCase):
258258

259259
def setUp(self):
@@ -299,7 +299,7 @@ def test_get_application_default_credentials_returns_credentials(self):
299299
self.assertTrue(isinstance(credentials, GoogleCredentials))
300300

301301

302-
@pytest.mark.single
302+
@pytest.mark.xfail(run=False, reason="intermittent failures")
303303
class TestGBQConnectorIntegrationWithServiceAccountKeyPath(tm.TestCase):
304304
def setUp(self):
305305
_setup_common()
@@ -331,7 +331,7 @@ def test_should_be_able_to_get_results_from_query(self):
331331
self.assertTrue(pages is not None)
332332

333333

334-
@pytest.mark.single
334+
@pytest.mark.xfail(run=False, reason="intermittent failures")
335335
class TestGBQConnectorIntegrationWithServiceAccountKeyContents(tm.TestCase):
336336
def setUp(self):
337337
_setup_common()
@@ -449,7 +449,7 @@ def test_read_gbq_with_corrupted_private_key_json_should_fail(self):
449449
private_key=re.sub('[a-z]', '9', _get_private_key_contents()))
450450

451451

452-
@pytest.mark.single
452+
@pytest.mark.xfail(run=False, reason="intermittent failures")
453453
class TestReadGBQIntegration(tm.TestCase):
454454

455455
@classmethod
@@ -503,7 +503,7 @@ def test_should_read_as_service_account_with_key_contents(self):
503503
tm.assert_frame_equal(df, DataFrame({'valid_string': ['PI']}))
504504

505505

506-
@pytest.mark.single
506+
@pytest.mark.xfail(run=False, reason="intermittent failures")
507507
class TestReadGBQIntegrationWithServiceAccountKeyPath(tm.TestCase):
508508

509509
@classmethod
@@ -906,7 +906,7 @@ def test_configuration_without_query(self):
906906
configuration=config)
907907

908908

909-
@pytest.mark.single
909+
@pytest.mark.xfail(run=False, reason="intermittent failures")
910910
class TestToGBQIntegrationWithServiceAccountKeyPath(tm.TestCase):
911911
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
912912
# As a workaround to this issue, each test should use a unique table name.
@@ -1219,7 +1219,7 @@ def test_dataset_does_not_exist(self):
12191219
DATASET_ID + "_not_found"), 'Expected dataset not to exist')
12201220

12211221

1222-
@pytest.mark.single
1222+
@pytest.mark.xfail(run=False, reason="intermittent failures")
12231223
class TestToGBQIntegrationWithLocalUserAccountAuth(tm.TestCase):
12241224
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
12251225
# As a workaround to this issue, each test should use a unique table name.
@@ -1277,7 +1277,7 @@ def test_upload_data(self):
12771277
self.assertEqual(result['num_rows'][0], test_size)
12781278

12791279

1280-
@pytest.mark.single
1280+
@pytest.mark.xfail(run=False, reason="intermittent failures")
12811281
class TestToGBQIntegrationWithServiceAccountKeyContents(tm.TestCase):
12821282
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
12831283
# As a workaround to this issue, each test should use a unique table name.

0 commit comments

Comments
 (0)