Commit Graph
8782 Commits
Author SHA1 Message Date
BlueBlock 90ab4856b2 use variable in place of string 2019-08-25 17:30:35 -04:00
BlueBlock 653e687b0e Merge remote-tracking branch 'upstream/master' into fix-stop-after-current-file 2019-08-25 14:19:00 -04:00
BlueBlock 819e4fc0a6 Merge remote-tracking branch 'upstream/master' into update-framework-to-462 2019-08-25 14:18:05 -04:00
BlueBlock a49a68c542 Merge remote-tracking branch 'upstream/master' into fix-unittest 2019-08-25 14:17:32 -04:00
BlueBlock 81eb1ba58c update references 2019-08-25 13:43:46 -04:00
BlueBlock 8a9a72e2b0 conditional download of data.zip
only download data.zip if either it is missing locally and has been updated on s3
2019-08-25 13:34:30 -04:00
BlueBlock 1f952b8628 add optional use of a local data-alternative.zip in place of data.zip 2019-08-25 10:59:14 -04:00
BlueBlock db6456a628 cleanup the sqlite journal file if it exists
can happen after an exception
2019-08-25 10:55:36 -04:00
BlueBlock 0d36592887 faster to use a dir move isntead of copying everything 2019-08-25 10:52:41 -04:00
warwickmmandGitHub 427a1007b8 Merge pull request #3846 from BlueBlock/bugfix-GetLargestPrefix
Fix bug in GetLargestPrefix() which adds an ending slash to file name
2019-08-24 12:34:55 -07:00
BlueBlock fc34f7abbf apply fix to all systems 2019-08-24 11:25:15 -04:00
BlueBlock 9c7accf5f7 add braces for codacy 2019-08-23 10:54:15 -04:00
BlueBlock b444d4bdf7 remove unused variable 2019-08-23 10:53:26 -04:00
BlueBlock 21c5fcd845 Merge branch 'master' into fix-stop-after-current-file 2019-08-23 10:22:55 -04:00
BlueBlock 41dd96c266 Merge branch 'master' of https://github.com/duplicati/duplicati into update-framework-to-462 2019-08-23 10:20:02 -04:00
BlueBlock 4b1f260ac6 resolve merge conflicts 2019-08-22 23:15:54 -04:00
Rune HenriksenandGitHub 240ea22587 Merge pull request #3866 from BlueBlock/fix-aftp-backend
WIP AFTP backend data upload corruption fix
2019-08-22 21:42:12 +02:00
Rune HenriksenandGitHub b8db3e847f Merge pull request #3864 from warwickmm/setup_teardown_test_data
Improve creation and deletion of test data
2019-08-22 21:42:01 +02:00
BlueBlock c3f7923afa add braces but really is to kickoff travis again 2019-08-21 12:55:24 -04:00
BlueBlock c74505301b add braces 2019-08-21 12:20:07 -04:00
BlueBlock e485ba752b purge test should now expect 1 and not 4 filesets
For this test the last 3 of the 4 filesets are now partials that follow a full backup. So the count is 1 now instead of 4.
2019-08-21 12:18:56 -04:00
BlueBlock 9a6fc927d3 add missing check for id in dict 2019-08-21 12:17:21 -04:00
BlueBlock f72e290b70 poc fix for aftp
proof of concept fix
2019-08-19 19:54:29 -04:00
Kenneth Hsu d094c96693 Insert missing newline. 2019-08-18 18:21:48 -07:00
Kenneth Hsu 0bb3cf0c5e Run OneTimeTearDown in OneTimeSetUp to ensure clean initialization. 2019-08-18 18:00:23 -07:00
Kenneth Hsu 9f23597c2b Extract duplicated path specifications to private property. 2019-08-18 17:46:13 -07:00
Kenneth Hsu caaedccc61 Remove recreated database file after each test. 2019-08-18 17:46:13 -07:00
Kenneth Hsu d29c9e090d Delete restore folder after each test. 2019-08-18 16:01:54 -07:00
BlueBlock d11c7f1378 fix QuickSets to return results of expected sets in dict[]
older partial sets are being included that are not in dict[]
2019-08-18 18:42:49 -04:00
Kenneth Hsu 1d7e7a6f32 Ignore BulkData tests in AppVeyor.
While the 60 minute time limit no longer appears to be a problem, the
test data contains paths whose fully qualified file name is greater than
the maximum allowed length on Windows.
2019-08-18 15:31:15 -07:00
Kenneth Hsu e2fda04a4c Delete test zip files and folders after tests complete. 2019-08-18 15:31:15 -07:00
Kenneth Hsu 3790f23749 Override instead of hiding property accessor. 2019-08-18 14:27:01 -07:00
Kenneth Hsu bcb1427b51 Avoid removing test base folder.
The base folder might contain additional content that the user does not
expect to be deleted.  We should only remove files/folders that we
create in the tests.
2019-08-18 14:27:01 -07:00
Kenneth Hsu 3a1c646855 Use braces for if statements. 2019-08-18 14:27:01 -07:00
Kenneth Hsu 90302de23c Delete base folder contents in test setup.
This also prevents undesired side effects if we later add additional
behaviors to the teardown method.
2019-08-18 14:27:01 -07:00
Kenneth Hsu baf3b6d52a Rename methods to clarify behaviors. 2019-08-18 14:27:01 -07:00
Kenneth Hsu d364be4037 Clean test data after each test. 2019-08-18 14:27:01 -07:00
Kenneth Hsu 5471e84eb0 Move download of test data to setup method.
This allows one to more easily run the unit tests locally.
2019-08-18 14:01:31 -07:00
Kenneth Hsu e16df8219c Move download of test data to setup method.
This allows one to more easily run the unit tests locally.
2019-08-18 14:01:31 -07:00
Kenneth Hsu ead6845e5d Remove base test folder instead of individual members. 2019-08-18 14:01:31 -07:00
Kenneth Hsu 3d82d95a63 Delete directories before specific files.
This is purely for aesthetic reasons.
2019-08-18 14:01:31 -07:00
Kenneth Hsu 1f66936c4c Remove redundant deletiong of test data.
The folders are now deleted in the teardown method.
2019-08-18 14:01:31 -07:00
Kenneth Hsu a6f751f605 Move creation of test data folders to base class. 2019-08-18 14:01:27 -07:00
BlueBlock 5614c3ef81 change where gui backup version count gets the count
get the count from the db so we can filter on isFullBackup
2019-08-18 14:42:39 -04:00
BlueBlock dfe8b817e3 rename variable and relocate BackupType() to base method 2019-08-18 14:41:37 -04:00
BlueBlock 1cf8864193 add logic to Filesettimes for isFullBackup 2019-08-18 14:41:05 -04:00
BlueBlock f3590cb7e6 fix db read for isfullbackup 2019-08-18 09:51:59 -04:00
Kenneth Hsu a9846f08f4 Remove unnecessary method override. 2019-08-17 19:54:57 -07:00
Kenneth Hsu 84bb7999a7 Remove unnecessary log output. 2019-08-17 19:54:55 -07:00
Kenneth Hsu 99cf1bff29 Add teardown to clean up test data. 2019-08-17 14:40:54 -07:00