@@ -18,7 +18,6 @@ describe('CloudServer Metadata API Tests', () => {
1818 } ) ;
1919
2020 it ( 'should test GetMetadata API' , async ( ) => {
21- // Run Cloudserver with : S3VAULT=mem S3METADATA=mongodb S3DATA=mem REMOTE_MANAGEMENT_DISABLE=true yarn start
2221 const getMetadataInput : GetMetadataInput = {
2322 Bucket : testConfig . bucketName ,
2423 Key : testConfig . objectKey ,
@@ -29,14 +28,14 @@ describe('CloudServer Metadata API Tests', () => {
2928 } ) ;
3029
3130 it ( 'should test PutMetadata API' , async ( ) => {
32- // S3VAULT=mem S3METADATA=scality S3DATA=mem
3331 const metadataObj = {
3432 "content-length" : 1000 ,
3533 "content-type" : "text/plain" ,
3634 "x-amz-meta-custom" : "test-valuee" ,
3735 "last-modified" : new Date ( ) . toISOString ( ) ,
3836 "etag" : "\"d41d8cd98f00b204e9800998ecf8427e\"" ,
39- "x-amz-version-id" : "null"
37+ "x-amz-version-id" : "null" ,
38+ "replicationInfo" : { }
4039 } ;
4140
4241 const metadataString = JSON . stringify ( metadataObj ) ;
@@ -55,7 +54,6 @@ describe('CloudServer Metadata API Tests', () => {
5554
5655
5756 it ( 'should test GetBucketMetadata API' , async ( ) => {
58- // S3VAULT=mem S3METADATA=scality S3DATA=mem
5957 const getBucketMetadataInput : GetBucketMetadataInput = {
6058 Bucket : testConfig . bucketName ,
6159 } ;
0 commit comments