From 060c6669c171a229e3750f2eca3b384e5e0da018 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 2 Sep 2019 23:41:43 +0300 Subject: [PATCH] Remove test which relied on now gone mongodb repository Looks like Mongo doesn't provide any regular structure repository anymore (only flat one?). --- system/t04_mirror/CreateMirror28Test_gold | 4 ---- .../t04_mirror/CreateMirror28Test_mirror_show | 19 ------------------- system/t04_mirror/create.py | 15 --------------- 3 files changed, 38 deletions(-) delete mode 100644 system/t04_mirror/CreateMirror28Test_gold delete mode 100644 system/t04_mirror/CreateMirror28Test_mirror_show diff --git a/system/t04_mirror/CreateMirror28Test_gold b/system/t04_mirror/CreateMirror28Test_gold deleted file mode 100644 index 34c7909d..00000000 --- a/system/t04_mirror/CreateMirror28Test_gold +++ /dev/null @@ -1,4 +0,0 @@ -Downloading http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/Release... - -Mirror [mirror28]: http://downloads-distro.mongodb.org/repo/ubuntu-upstart/ dist successfully added. -You can run 'aptly mirror update mirror28' to download repository contents. diff --git a/system/t04_mirror/CreateMirror28Test_mirror_show b/system/t04_mirror/CreateMirror28Test_mirror_show deleted file mode 100644 index 09e9cfed..00000000 --- a/system/t04_mirror/CreateMirror28Test_mirror_show +++ /dev/null @@ -1,19 +0,0 @@ -Name: mirror28 -Archive Root URL: http://downloads-distro.mongodb.org/repo/ubuntu-upstart/ -Distribution: dist -Components: 10gen -Architectures: amd64, i386 -Download Sources: no -Download .udebs: no -Last update: never - -Information from release file: -Architectures: i386 amd64 -Codename: dist -Components: 10gen -Description: mongodb packages - -Label: mongodb -Origin: mongodb -Suite: mongodb -Version: dist diff --git a/system/t04_mirror/create.py b/system/t04_mirror/create.py index 12bc8d9c..80f327c9 100644 --- a/system/t04_mirror/create.py +++ b/system/t04_mirror/create.py @@ -354,21 +354,6 @@ class CreateMirror27Test(BaseTest): self.check_cmd_output("aptly mirror show mirror27", "mirror_show") -class CreateMirror28Test(BaseTest): - """ - create mirror: -force-components - """ - runCmd = "aptly mirror create -ignore-signatures -force-components mirror28 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" - - def check(self): - def removeDates(s): - return re.sub(r"(Date|Valid-Until): [,0-9:+A-Za-z -]+\n", "", s) - - self.check_output() - self.check_cmd_output("aptly mirror show mirror28", - "mirror_show", match_prepare=removeDates) - - class CreateMirror29Test(BaseTest): """ create mirror: repo with InRelease verification (internal GPG implementation)