-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Run the acceptance tests with Oracle database. (see PR #37025 )
https://drone.owncloud.com/owncloud/core/23587/57/13
Scenario: Restore a file and check, if the content and correct checksum is now in the current file # /drone/src/tests/acceptance/features/apiVersions/fileVersions.feature:132
Given user "user0" has uploaded file with content "AAAAABBBBBCCCCC" and checksum "MD5:45a72715acdd5019c5be30bdbb75233e" to "/davtest.txt" # ChecksumContext::userHasUploadedFileWithContentAndChecksumToUsingTheAPI()
And user "user0" has uploaded file "filesForUpload/textfile.txt" to "/davtest.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a" # ChecksumContext::userHasUploadedFileToWithChecksumUsingTheAPI()
And the version folder of file "/davtest.txt" for user "user0" should contain "1" element # FilesVersionsContext::theVersionFolderOfFileShouldContainElements()
When user "user0" restores version index "1" of file "/davtest.txt" using the WebDAV API # FilesVersionsContext::userRestoresVersionIndexOfFile()
Then the content of file "/davtest.txt" for user "user0" should be "AAAAABBBBBCCCCC" # FeatureContext::contentOfFileForUserShouldBe()
And as user "user0" the webdav checksum of "/davtest.txt" via propfind should match "SHA1:acfa6b1565f9710d4d497c6035d5c069bd35a8e8 MD5:45a72715acdd5019c5be30bdbb75233e ADLER32:1ecd03df" # ChecksumContext::theWebdavChecksumOfViaPropfindShouldMatch()
Expected: webDav checksum should be SHA1:acfa6b1565f9710d4d497c6035d5c069bd35a8e8 MD5:45a72715acdd5019c5be30bdbb75233e ADLER32:1ecd03df but got SHA1:3ee962b839762adb0ad8ba6023a4690be478de6f MD5:d70b40f177b14b470d1756a3c12b963a ADLER32:8ae90960
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'SHA1:acfa6b1565f9710d4d497c6035d5c069bd35a8e8 MD5:45a72715acdd5019c5be30bdbb75233e ADLER32:1ecd03df'
+'SHA1:3ee962b839762adb0ad8ba6023a4690be478de6f MD5:d70b40f177b14b470d1756a3c12b963a ADLER32:8ae90960'
--- Failed scenarios:
/drone/src/tests/acceptance/features/apiVersions/fileVersions.feature:132
37 scenarios (36 passed, 1 failed)
428 steps (427 passed, 1 failed)
Nothing is seen in owncloud.log
This scenario passes with other databases (MySQL, MariaDB and PostgreSQL of all supported versions) Investigate...