@@ -253,7 +253,7 @@ def test_generate_bq_schema_deprecated():
253
253
gbq .generate_bq_schema (df )
254
254
255
255
256
- @pytest .mark .single
256
+ @pytest .mark .xfail ( run = False , reason = "intermittent failures" )
257
257
class TestGBQConnectorIntegrationWithLocalUserAccountAuth (tm .TestCase ):
258
258
259
259
def setUp (self ):
@@ -299,7 +299,7 @@ def test_get_application_default_credentials_returns_credentials(self):
299
299
self .assertTrue (isinstance (credentials , GoogleCredentials ))
300
300
301
301
302
- @pytest .mark .single
302
+ @pytest .mark .xfail ( run = False , reason = "intermittent failures" )
303
303
class TestGBQConnectorIntegrationWithServiceAccountKeyPath (tm .TestCase ):
304
304
def setUp (self ):
305
305
_setup_common ()
@@ -331,7 +331,7 @@ def test_should_be_able_to_get_results_from_query(self):
331
331
self .assertTrue (pages is not None )
332
332
333
333
334
- @pytest .mark .single
334
+ @pytest .mark .xfail ( run = False , reason = "intermittent failures" )
335
335
class TestGBQConnectorIntegrationWithServiceAccountKeyContents (tm .TestCase ):
336
336
def setUp (self ):
337
337
_setup_common ()
@@ -449,7 +449,7 @@ def test_read_gbq_with_corrupted_private_key_json_should_fail(self):
449
449
private_key = re .sub ('[a-z]' , '9' , _get_private_key_contents ()))
450
450
451
451
452
- @pytest .mark .single
452
+ @pytest .mark .xfail ( run = False , reason = "intermittent failures" )
453
453
class TestReadGBQIntegration (tm .TestCase ):
454
454
455
455
@classmethod
@@ -503,7 +503,7 @@ def test_should_read_as_service_account_with_key_contents(self):
503
503
tm .assert_frame_equal (df , DataFrame ({'valid_string' : ['PI' ]}))
504
504
505
505
506
- @pytest .mark .single
506
+ @pytest .mark .xfail ( run = False , reason = "intermittent failures" )
507
507
class TestReadGBQIntegrationWithServiceAccountKeyPath (tm .TestCase ):
508
508
509
509
@classmethod
@@ -906,7 +906,7 @@ def test_configuration_without_query(self):
906
906
configuration = config )
907
907
908
908
909
- @pytest .mark .single
909
+ @pytest .mark .xfail ( run = False , reason = "intermittent failures" )
910
910
class TestToGBQIntegrationWithServiceAccountKeyPath (tm .TestCase ):
911
911
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
912
912
# 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):
1219
1219
DATASET_ID + "_not_found" ), 'Expected dataset not to exist' )
1220
1220
1221
1221
1222
- @pytest .mark .single
1222
+ @pytest .mark .xfail ( run = False , reason = "intermittent failures" )
1223
1223
class TestToGBQIntegrationWithLocalUserAccountAuth (tm .TestCase ):
1224
1224
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
1225
1225
# As a workaround to this issue, each test should use a unique table name.
@@ -1277,7 +1277,7 @@ def test_upload_data(self):
1277
1277
self .assertEqual (result ['num_rows' ][0 ], test_size )
1278
1278
1279
1279
1280
- @pytest .mark .single
1280
+ @pytest .mark .xfail ( run = False , reason = "intermittent failures" )
1281
1281
class TestToGBQIntegrationWithServiceAccountKeyContents (tm .TestCase ):
1282
1282
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
1283
1283
# As a workaround to this issue, each test should use a unique table name.
0 commit comments