1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-13 23:02:14 +03:00

Added a test to the s3 module, attempt to copy a non-existant file.

This commit is contained in:
Patrick LeBlanc
2019-05-13 12:10:48 -05:00
parent 2cd2c8b0a6
commit 19859de510

View File

@@ -1184,6 +1184,10 @@ void s3storageTest1()
assert(exists);
s3.deleteObject(testFile);
s3.deleteObject(testFile2);
err = s3.copyObject("this-does-not-exist", testFile2);
assert(err < 0);
assert(errno == ENOENT);
}
catch(exception &e)
{
@@ -1523,7 +1527,7 @@ int main()
mergeJournalTest();
replicatorTest();
syncTest1();
s3storageTest1();
IOCReadTest1();
IOCTruncate();