1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-02-09 13:46:51 +02:00

Fix compression type in integration tests.

Due to this bug the compression type in integration tests was always set to none. There are sufficient other tests for compression that this was not masking any bugs, but it was obviously not ideal.
This commit is contained in:
David Steele 2024-12-26 10:45:11 -05:00
parent 8b9e03d618
commit 9ee3b2c593

View File

@ -1198,7 +1198,7 @@ hrnHostBuild(const int line, const HrnHostTestDefine *const testMatrix, const si
hrnHostLocal.pgVersion = pgVersionFromStr(STR(testDef->pg));
hrnHostLocal.repoHost = strIdFromZ(testDef->repo);
hrnHostLocal.storage = strIdFromZ(testDef->stg);
hrnHostLocal.compressType = compressTypeFromName(STR(testDef->cmp));
hrnHostLocal.compressType = compressTypeEnum(strIdFromZ(testDef->cmp));
hrnHostLocal.cipherType = testDef->enc ? cipherTypeAes256Cbc : cipherTypeNone;
hrnHostLocal.cipherPass = testDef->enc ? strNewZ(HRN_CIPHER_PASSPHRASE) : NULL;
hrnHostLocal.repoTotal = testDef->rt;