1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Remove duplicate tests from storage/sftp unit test module.

These tests are already run as part of storage/posix and do not need to be duplicated in storage/sftp.
This commit is contained in:
David Steele 2023-09-19 12:08:09 -04:00
parent 31de127cf4
commit bb752cd111
2 changed files with 1 additions and 22 deletions

View File

@ -607,7 +607,7 @@ unit:
# ----------------------------------------------------------------------------------------------------------------------------
- name: sftp
total: 20
total: 19
harness: libSsh2
harness:
name: fd

View File

@ -70,27 +70,6 @@ testRun(void)
unsigned int repoIdx = 0;
// This test should always be first so the storage helper is uninitialized
// *****************************************************************************************************************************
if (testBegin("storageHelperDryRunInit()"))
{
// -------------------------------------------------------------------------------------------------------------------------
TEST_TITLE("writable storage fails when dry-run is not initialized");
TEST_ERROR(storagePgIdxWrite(0), AssertError, WRITABLE_WHILE_DRYRUN);
TEST_ERROR(storageRepoIdxWrite(0), AssertError, WRITABLE_WHILE_DRYRUN);
TEST_ERROR(storageSpoolWrite(), AssertError, WRITABLE_WHILE_DRYRUN);
// -------------------------------------------------------------------------------------------------------------------------
TEST_TITLE("writable storage fails when dry-run is true");
storageHelperDryRunInit(true);
TEST_ERROR(storagePgIdxWrite(0), AssertError, WRITABLE_WHILE_DRYRUN);
TEST_ERROR(storageRepoIdxWrite(0), AssertError, WRITABLE_WHILE_DRYRUN);
TEST_ERROR(storageSpoolWrite(), AssertError, WRITABLE_WHILE_DRYRUN);
}
// *****************************************************************************************************************************
if (testBegin("storageNew()"))
{