From 933d53f90e32ef16eead95b67b4943ac22d62860 Mon Sep 17 00:00:00 2001
From: Oleg Girko
Date: Thu, 5 Nov 2015 03:06:25 +0000
Subject: [PATCH] Make test server configurations use different subject data
files.
Server tests in test_50_server create several servers simultaneously.
However, config files for these servers use the same file for subject data.
This causes EAGAIN error when trying to open the same GDBM file
for shelving subject data more than once when running with Python 3.
Making subject_data parameters for these servers different
fixes this problem.
Signed-off-by: Oleg Girko
---
tests/idp_conf_sp_no_encrypt.py | 2 +-
tests/idp_conf_verify_cert.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/idp_conf_sp_no_encrypt.py b/tests/idp_conf_sp_no_encrypt.py
index 337572f..6e1a9ef 100644
--- a/tests/idp_conf_sp_no_encrypt.py
+++ b/tests/idp_conf_sp_no_encrypt.py
@@ -36,7 +36,7 @@ CONFIG = {
# }
}
},
- "subject_data": full_path("subject_data.db"),
+ "subject_data": full_path("subject_data_3.db"),
#"domain": "umu.se",
#"name_qualifier": ""
},
diff --git a/tests/idp_conf_verify_cert.py b/tests/idp_conf_verify_cert.py
index 9f0b6dc..1318352 100644
--- a/tests/idp_conf_verify_cert.py
+++ b/tests/idp_conf_verify_cert.py
@@ -45,7 +45,7 @@ CONFIG = {
# }
}
},
- "subject_data": full_path("subject_data.db"),
+ "subject_data": full_path("subject_data_2.db"),
#"domain": "umu.se",
#"name_qualifier": ""
},