From 486374eee8d9c30b3782eaf11485c2b391dfdef4 Mon Sep 17 00:00:00 2001 From: Jiri Kortus Date: Wed, 29 Apr 2020 18:29:37 +0200 Subject: [PATCH] [tests] update glusterfs version to 6 Related: rhbz#1828808 --- .../pylorax/blueprints/example-glusterfs.toml | 4 +-- tests/pylorax/test_server.py | 32 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/pylorax/blueprints/example-glusterfs.toml b/tests/pylorax/blueprints/example-glusterfs.toml index 92ec5b5f..54d0d383 100644 --- a/tests/pylorax/blueprints/example-glusterfs.toml +++ b/tests/pylorax/blueprints/example-glusterfs.toml @@ -3,11 +3,11 @@ description = "An example GlusterFS server with samba" [[modules]] name = "glusterfs" -version = "3.*.*" +version = "6.*" [[modules]] name = "glusterfs-cli" -version = "3.*.*" +version = "6.*" [[packages]] name = "samba" diff --git a/tests/pylorax/test_server.py b/tests/pylorax/test_server.py index 04511821..dac8a1b2 100644 --- a/tests/pylorax/test_server.py +++ b/tests/pylorax/test_server.py @@ -176,8 +176,8 @@ class ServerTestCase(unittest.TestCase): {"changed":False, "name":"example-http-server"}], "errors":[], "blueprints":[{"description": "An example GlusterFS server with samba", - "modules":[{"name":"glusterfs", "version":"3.*.*"}, - {"name":"glusterfs-cli", "version":"3.*.*"}], + "modules":[{"name":"glusterfs", "version":"6.*"}, + {"name":"glusterfs-cli", "version":"6.*"}], "name":"example-glusterfs", "packages":[{"name":"samba", "version":"4.*.*"}], "groups": [], @@ -240,8 +240,8 @@ class ServerTestCase(unittest.TestCase): test_blueprint = {"description": "An example GlusterFS server with samba", "name":"example-glusterfs", "version": "0.2.0", - "modules":[{"name":"glusterfs", "version":"3.*.*"}, - {"name":"glusterfs-cli", "version":"3.*.*"}], + "modules":[{"name":"glusterfs", "version":"6.*"}, + {"name":"glusterfs-cli", "version":"6.*"}], "packages":[{"name":"samba", "version":"4.*.*"}, {"name":"tmux", "version":"1.8"}], "groups": []} @@ -291,8 +291,8 @@ class ServerTestCase(unittest.TestCase): test_blueprint = {"description": "An example GlusterFS server with samba, ws version", "name":"example-glusterfs", "version": "0.3.0", - "modules":[{"name":"glusterfs", "version":"3.*.*"}, - {"name":"glusterfs-cli", "version":"3.*.*"}], + "modules":[{"name":"glusterfs", "version":"6.*"}, + {"name":"glusterfs-cli", "version":"6.*"}], "packages":[{"name":"samba", "version":"4.*.*"}, {"name":"tmux", "version":"1.8"}], "groups": []} @@ -318,8 +318,8 @@ class ServerTestCase(unittest.TestCase): test_blueprint = {"description": "An example GlusterFS server with samba, ws version", "name":"example-glusterfs", "version": "0.4.0", - "modules":[{"name":"glusterfs", "version":"3.*.*"}, - {"name":"glusterfs-cli", "version":"3.*.*"}], + "modules":[{"name":"glusterfs", "version":"6.*"}, + {"name":"glusterfs-cli", "version":"6.*"}], "packages":[{"name":"samba", "version":"4.*.*"}, {"name":"tmux", "version":"1.8"}], "groups": []} @@ -483,8 +483,8 @@ class ServerTestCase(unittest.TestCase): test_blueprint = {"description": "An example GlusterFS server with samba, ws version", "name":"example-glusterfs", "version": "0.3.0", - "modules":[{"name":"glusterfs", "version":"3.*.*"}, - {"name":"glusterfs-cli", "version":"3.*.*"}], + "modules":[{"name":"glusterfs", "version":"6.*"}, + {"name":"glusterfs-cli", "version":"6.*"}], "packages":[{"name":"samba", "version":"4.*.*"}, {"name":"tmux", "version":"1.8"}]} @@ -764,8 +764,8 @@ class ServerTestCase(unittest.TestCase): test_blueprint = {"description": "An example GlusterFS server with samba", "name":"example-glusterfs", "version": "0.2.0", - "modules":[{"name":"glusterfs", "version":"3.*.*"}, - {"name":"glusterfs-cli", "version":"3.*.*"}], + "modules":[{"name":"glusterfs", "version":"6.*"}, + {"name":"glusterfs-cli", "version":"6.*"}], "packages":[{"name":"samba", "version":"4.*.*"}, {"name":"tmux", "version":"1.8"}], "groups": []} @@ -1287,8 +1287,8 @@ class ServerTestCase(unittest.TestCase): test_blueprint = {"description": "An example GlusterFS server with samba", "name":UTF8_TEST_STRING, "version": "0.2.0", - "modules":[{"name":"glusterfs", "version":"3.*.*"}, - {"name":"glusterfs-cli", "version":"3.*.*"}], + "modules":[{"name":"glusterfs", "version":"6.*"}, + {"name":"glusterfs-cli", "version":"6.*"}], "packages":[{"name":"samba", "version":"4.*.*"}, {"name":"tmux", "version":"1.8"}], "groups": []} @@ -1317,8 +1317,8 @@ class ServerTestCase(unittest.TestCase): test_blueprint = {"description": "An example GlusterFS server with samba, ws version", "name":UTF8_TEST_STRING, "version": "0.3.0", - "modules":[{"name":"glusterfs", "version":"3.*.*"}, - {"name":"glusterfs-cli", "version":"3.*.*"}], + "modules":[{"name":"glusterfs", "version":"6.*"}, + {"name":"glusterfs-cli", "version":"6.*"}], "packages":[{"name":"samba", "version":"4.*.*"}, {"name":"tmux", "version":"1.8"}], "groups": []}