✅Fixed storage e2e test for S3
This commit is contained in:
committed by
Anton Shepilov
parent
20ef64f04f
commit
2c5cf0bb8d
@@ -113,7 +113,7 @@ export default class S3ConnectorService implements StorageConnectorAPI {
|
||||
break;
|
||||
}
|
||||
} catch (e) {
|
||||
logger.error("Error getting information from S3", e);
|
||||
logger.error(e, `Error getting information from S3 for path: ${path}`);
|
||||
}
|
||||
|
||||
if (i === tries) {
|
||||
|
||||
@@ -69,7 +69,8 @@ export default class StorageService extends TdriveService<StorageAPI> implements
|
||||
}
|
||||
|
||||
exists(path: string, options?: ReadOptions): Promise<boolean> {
|
||||
return this.getConnector().exists(path, options);
|
||||
//TODO[ASH] check for all the file chunks
|
||||
return this.getConnector().exists(path + "/chunk1", options);
|
||||
}
|
||||
|
||||
async write(path: string, stream: Stream, options?: WriteOptions): Promise<WriteMetadata> {
|
||||
|
||||
Reference in New Issue
Block a user