You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-17 01:02:23 +03:00
Added a test to the s3 module, attempt to copy a non-existant file.
This commit is contained in:
@@ -1184,6 +1184,10 @@ void s3storageTest1()
|
|||||||
assert(exists);
|
assert(exists);
|
||||||
s3.deleteObject(testFile);
|
s3.deleteObject(testFile);
|
||||||
s3.deleteObject(testFile2);
|
s3.deleteObject(testFile2);
|
||||||
|
|
||||||
|
err = s3.copyObject("this-does-not-exist", testFile2);
|
||||||
|
assert(err < 0);
|
||||||
|
assert(errno == ENOENT);
|
||||||
}
|
}
|
||||||
catch(exception &e)
|
catch(exception &e)
|
||||||
{
|
{
|
||||||
@@ -1523,7 +1527,7 @@ int main()
|
|||||||
mergeJournalTest();
|
mergeJournalTest();
|
||||||
replicatorTest();
|
replicatorTest();
|
||||||
syncTest1();
|
syncTest1();
|
||||||
|
|
||||||
s3storageTest1();
|
s3storageTest1();
|
||||||
IOCReadTest1();
|
IOCReadTest1();
|
||||||
IOCTruncate();
|
IOCTruncate();
|
||||||
|
|||||||
Reference in New Issue
Block a user