(key, expected)
| 93 | |
| 94 | // Check that the object key has the expected replication information. |
| 95 | function checkObjectReplicationInfo(key, expected) { |
| 96 | const objectMD = metadata.keyMaps.get(bucketName).get(key); |
| 97 | assert.deepStrictEqual(objectMD.replicationInfo, expected); |
| 98 | } |
| 99 | |
| 100 | // Put the object key and check the replication information. |
| 101 | function putObjectAndCheckMD(key, expected, cb) { |
no outgoing calls
no test coverage detected