mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Fix failing SHA512 checksums only test
This test has been failing very often because of changes in nvidia repository. As this test is not related to filtering remove number of filtered packages from output for a more robust test.
This commit is contained in:
@@ -4,7 +4,7 @@ openpgp: Good signature from "NVIDIA CORPORATION (Open Source Projects) <cudatoo
|
||||
Downloading & parsing package files...
|
||||
Downloading https://nvidia.github.io/libnvidia-container/ubuntu16.04/amd64/Packages.xz...
|
||||
Applying filter...
|
||||
Packages filtered: 20 -> 0.
|
||||
|
||||
Building download queue...
|
||||
Download queue: 0 items (0 B)
|
||||
|
||||
|
||||
@@ -373,4 +373,6 @@ class UpdateMirror22Test(BaseTest):
|
||||
"aptly mirror create --keyring=aptlytest.gpg --filter=nomatch libnvidia-container https://nvidia.github.io/libnvidia-container/ubuntu16.04/amd64 ./"
|
||||
]
|
||||
runCmd = "aptly mirror update --keyring=aptlytest.gpg libnvidia-container"
|
||||
outputMatchPrepare = filterOutSignature
|
||||
|
||||
def outputMatchPrepare(_, s):
|
||||
return re.sub(r'Signature made .* using|Packages filtered: .* -> 0.', '', s)
|
||||
|
||||
Reference in New Issue
Block a user