From 3bb707344a7bfa2e1c916105b7ba92bd1cdd5677 Mon Sep 17 00:00:00 2001 From: Michal Konečný Date: Feb 16 2022 12:45:46 +0000 Subject: Switch fedora containers to F34 When running CI containers with F35 they fail in CentOS CI on the following error https://bugzilla.redhat.com/show_bug.cgi?id=2032085 This error is not happening on F34, let's switch to it then. --- diff --git a/dev/containers/fedora-pip-py3 b/dev/containers/fedora-pip-py3 index 1c4c534..42d4526 100644 --- a/dev/containers/fedora-pip-py3 +++ b/dev/containers/fedora-pip-py3 @@ -1,4 +1,4 @@ -FROM quay.io/fedora/fedora:35-x86_64 +FROM quay.io/fedora/fedora:34-x86_64 ARG repo=https://pagure.io/pagure.git ARG branch=master diff --git a/dev/containers/fedora-rpms-py3 b/dev/containers/fedora-rpms-py3 index 90591a2..7b94e8f 100644 --- a/dev/containers/fedora-rpms-py3 +++ b/dev/containers/fedora-rpms-py3 @@ -1,4 +1,4 @@ -FROM quay.io/fedora/fedora:35-x86_64 +FROM quay.io/fedora/fedora:34-x86_64 ARG repo=https://pagure.io/pagure.git ARG branch=master diff --git a/tests/test_pagure_flask_api_user.py b/tests/test_pagure_flask_api_user.py index 04a0e6c..495f482 100644 --- a/tests/test_pagure_flask_api_user.py +++ b/tests/test_pagure_flask_api_user.py @@ -378,7 +378,7 @@ class PagureFlaskApiUSertests(tests.Modeltests): "error": "Could not match input '2016asd' to any of the following formats: " "YYYY-MM-DD, YYYY-M-DD, YYYY-M-D, YYYY/MM/DD, YYYY/M/DD, YYYY/M/D, " "YYYY.MM.DD, YYYY.M.DD, YYYY.M.D, YYYYMMDD, YYYY-DDDD, YYYYDDDD, " - "YYYY-MM, YYYY/MM, YYYY.MM, YYYY, W.", + "YYYY-MM, YYYY/MM, YYYY.MM, YYYY, W", "error_code": "ENOCODE", } self.assertEqual(json.loads(output.get_data(as_text=True)), exp)