URL: https://github.com/freeipa/freeipa/pull/2552
Author: flo-renaud
 Title: #2552: ipatests: add missing tests for test_caless
Action: opened

PR body:
"""
Two tests were missing from nightly definition:
- test_caless.py::TestReplicaCALessToCAFull
- test_caless.py::TestServerCALessToExternalCA
    
Related to https://pagure.io/freeipa/issue/7743

"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2552/head:pr2552
git checkout pr2552
From cb957503fc8728abe1197a002b8443559bd72bbc Mon Sep 17 00:00:00 2001
From: Florence Blanc-Renaud <[email protected]>
Date: Mon, 12 Nov 2018 17:37:57 +0100
Subject: [PATCH 1/2] ipatests: add missing tests for test_caless

Two tests were missing from nightly definition:
- test_caless.py::TestReplicaCALessToCAFull
- test_caless.py::TestServerCALessToExternalCA

Related to https://pagure.io/freeipa/issue/7743
---
 ipatests/prci_definitions/nightly_master.yaml | 24 +++++++++++++++++++
 .../prci_definitions/nightly_rawhide.yaml     | 24 +++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/ipatests/prci_definitions/nightly_master.yaml b/ipatests/prci_definitions/nightly_master.yaml
index 6a68122069..a37fc5b8eb 100644
--- a/ipatests/prci_definitions/nightly_master.yaml
+++ b/ipatests/prci_definitions/nightly_master.yaml
@@ -280,6 +280,30 @@ jobs:
         timeout: 5400
         topology: *master_1repl
 
+  fedora-28/test_caless_TestReplicaCALessToCAFull:
+    requires: [fedora-28/build]
+    priority: 50
+    job:
+      class: RunPytest
+      args:
+        build_url: '{fedora-28/build_url}'
+        test_suite: test_integration/test_caless.py::TestReplicaCALessToCAFull
+        template: *ci-master-f28
+        timeout: 5400
+        topology: *master_1repl
+
+  fedora-28/test_caless_TestServerCALessToExternalCA:
+    requires: [fedora-28/build]
+    priority: 50
+    job:
+      class: RunPytest
+      args:
+        build_url: '{fedora-28/build_url}'
+        test_suite: test_integration/test_caless.py::TestServerCALessToExternalCA
+        template: *ci-master-f28
+        timeout: 5400
+        topology: *master_1repl
+
   fedora-28/test_backup_and_restore_TestUserRootFilesOwnershipPermission:
     requires: [fedora-28/build]
     priority: 50
diff --git a/ipatests/prci_definitions/nightly_rawhide.yaml b/ipatests/prci_definitions/nightly_rawhide.yaml
index ee8cd94e43..517bf07125 100644
--- a/ipatests/prci_definitions/nightly_rawhide.yaml
+++ b/ipatests/prci_definitions/nightly_rawhide.yaml
@@ -280,6 +280,30 @@ jobs:
         timeout: 5400
         topology: *master_1repl
 
+  fedora-rawhide/test_caless_TestReplicaCALessToCAFull:
+    requires: [fedora-rawhide/build]
+    priority: 50
+    job:
+      class: RunPytest
+      args:
+        build_url: '{fedora-rawhide/build_url}'
+        test_suite: test_integration/test_caless.py::TestReplicaCALessToCAFull
+        template: *ci-master-frawhide
+        timeout: 5400
+        topology: *master_1repl
+
+  fedora-rawhide/test_caless_TestServerCALessToExternalCA:
+    requires: [fedora-rawhide/build]
+    priority: 50
+    job:
+      class: RunPytest
+      args:
+        build_url: '{fedora-rawhide/build_url}'
+        test_suite: test_integration/test_caless.py::TestServerCALessToExternalCA
+        template: *ci-master-frawhide
+        timeout: 5400
+        topology: *master_1repl
+
   fedora-rawhide/test_backup_and_restore_TestUserrootFilesOwnership:
     requires: [fedora-rawhide/build]
     priority: 50

From be59fe3597c706be006397931b88d7ebe74c8078 Mon Sep 17 00:00:00 2001
From: Florence Blanc-Renaud <[email protected]>
Date: Mon, 12 Nov 2018 17:40:22 +0100
Subject: [PATCH 2/2] temp commit to add missing tests from test_caless

Please remove before pushing
---
 .freeipa-pr-ci.yaml                        |  2 +-
 ipatests/prci_definitions/temp_commit.yaml | 20 ++++++++++++++++----
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/.freeipa-pr-ci.yaml b/.freeipa-pr-ci.yaml
index abcf8c5b63..8065669008 120000
--- a/.freeipa-pr-ci.yaml
+++ b/.freeipa-pr-ci.yaml
@@ -1 +1 @@
-ipatests/prci_definitions/gating.yaml
\ No newline at end of file
+ipatests/prci_definitions/temp_commit.yaml
\ No newline at end of file
diff --git a/ipatests/prci_definitions/temp_commit.yaml b/ipatests/prci_definitions/temp_commit.yaml
index cd49379fc8..105f206158 100644
--- a/ipatests/prci_definitions/temp_commit.yaml
+++ b/ipatests/prci_definitions/temp_commit.yaml
@@ -33,14 +33,26 @@ jobs:
         timeout: 1800
         topology: *build
 
-  fedora-28/temp_commit:
+  fedora-28/test_caless_TestReplicaCALessToCAFull:
     requires: [fedora-28/build]
     priority: 50
     job:
       class: RunPytest
       args:
         build_url: '{fedora-28/build_url}'
-        test_suite: test_integration/test_REPLACEME.py
+        test_suite: test_integration/test_caless.py::TestReplicaCALessToCAFull
         template: *ci-master-f28
-        timeout: 3600
-        topology: *master_1repl_1client
+        timeout: 5400
+        topology: *master_1repl
+
+  fedora-28/test_caless_TestServerCALessToExternalCA:
+    requires: [fedora-28/build]
+    priority: 50
+    job:
+      class: RunPytest
+      args:
+        build_url: '{fedora-28/build_url}'
+        test_suite: test_integration/test_caless.py::TestServerCALessToExternalCA
+        template: *ci-master-f28
+        timeout: 5400
+        topology: *master_1repl
_______________________________________________
FreeIPA-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

Reply via email to