@@ -35,6 +35,7 @@ var Bucket = Storage.Bucket;
35
35
var File = Storage . File ;
36
36
37
37
describe ( 'storage' , function ( ) {
38
+ var IS_CI = env . projectId === 'long-door-651' ;
38
39
var TESTS_PREFIX = 'gcloud-test-' ;
39
40
40
41
var storage = new Storage ( env ) ;
@@ -60,7 +61,7 @@ describe('storage', function() {
60
61
} ) ;
61
62
62
63
after ( function ( done ) {
63
- if ( env . projectId === 'long-door-651' ) {
64
+ if ( IS_CI ) {
64
65
// The system tests account is unable to delete files.
65
66
// RE: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2224
66
67
done ( ) ;
@@ -609,6 +610,12 @@ describe('storage', function() {
609
610
610
611
describe ( 'bucket metadata' , function ( ) {
611
612
it ( 'should allow setting metadata on a bucket' , function ( done ) {
613
+ if ( IS_CI ) {
614
+ // RE: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2224
615
+ this . skip ( ) ;
616
+ return ;
617
+ }
618
+
612
619
var metadata = {
613
620
website : {
614
621
mainPageSuffix : 'http://fakeuri' ,
@@ -624,7 +631,8 @@ describe('storage', function() {
624
631
} ) ;
625
632
} ) ;
626
633
627
- describe ( 'write, read, and remove files' , function ( ) {
634
+ // RE: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2224
635
+ ( IS_CI ? describe . skip : describe ) ( 'write/read/remove files' , function ( ) {
628
636
before ( function ( done ) {
629
637
function setHash ( filesKey , done ) {
630
638
var file = FILES [ filesKey ] ;
@@ -1066,7 +1074,8 @@ describe('storage', function() {
1066
1074
} ) ;
1067
1075
} ) ;
1068
1076
1069
- describe ( 'combine files' , function ( ) {
1077
+ // RE: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2224
1078
+ ( IS_CI ? describe . skip : describe ) ( 'combine files' , function ( ) {
1070
1079
it ( 'should combine multiple files into one' , function ( done ) {
1071
1080
var files = [
1072
1081
{ file : bucket . file ( 'file-one.txt' ) , contents : '123' } ,
@@ -1098,7 +1107,8 @@ describe('storage', function() {
1098
1107
} ) ;
1099
1108
} ) ;
1100
1109
1101
- describe ( 'list files' , function ( ) {
1110
+ // RE: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2224
1111
+ ( IS_CI ? describe . skip : describe ) ( 'list files' , function ( ) {
1102
1112
var NEW_FILES = [
1103
1113
bucket . file ( 'CloudLogo1' ) ,
1104
1114
bucket . file ( 'CloudLogo2' ) ,
@@ -1252,7 +1262,7 @@ describe('storage', function() {
1252
1262
} ) ;
1253
1263
} ) ;
1254
1264
1255
- describe ( 'sign urls' , function ( ) {
1265
+ ( IS_CI ? describe . skip : describe ) ( 'sign urls' , function ( ) {
1256
1266
var localFile = fs . readFileSync ( FILES . logo . path ) ;
1257
1267
var file ;
1258
1268
@@ -1300,7 +1310,8 @@ describe('storage', function() {
1300
1310
} ) ;
1301
1311
} ) ;
1302
1312
1303
- describe ( 'sign policy' , function ( ) {
1313
+ // RE: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2224
1314
+ ( IS_CI ? describe . skip : describe ) ( 'sign policy' , function ( ) {
1304
1315
var file ;
1305
1316
1306
1317
before ( function ( done ) {
0 commit comments