Skip to content

Commit 933d53f

Browse files
committed
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 <[email protected]>
1 parent dd58f3d commit 933d53f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/idp_conf_sp_no_encrypt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# }
3737
}
3838
},
39-
"subject_data": full_path("subject_data.db"),
39+
"subject_data": full_path("subject_data_3.db"),
4040
#"domain": "umu.se",
4141
#"name_qualifier": ""
4242
},

tests/idp_conf_verify_cert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def verify_encrypt_cert(cert_str):
4545
# }
4646
}
4747
},
48-
"subject_data": full_path("subject_data.db"),
48+
"subject_data": full_path("subject_data_2.db"),
4949
#"domain": "umu.se",
5050
#"name_qualifier": ""
5151
},

0 commit comments

Comments
 (0)