-
Improvement
-
Resolution: Fixed
-
Major
A new LDAP plugin integration test that runs with real LDAP server is needed by us in ATH.
There is an existing LdapPluginTest which requires Docker to run.
[JENKINS-25576] Create a new LDAP test that runs with a real LDAP server
Description |
Original:
A new LDAP plugin integration test that runs with real LDAP server is added to ATH. There was an existing LdapPluginTest which requires Docker to run. |
New:
A new LDAP plugin integration test that runs with real LDAP server is needed by us in ATH. There is an existing LdapPluginTest which requires Docker to run. |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 159548 ] | New: JNJira + In-Review [ 196120 ] |
Code changed in jenkins
User: Bowen Cheng
Path:
src/main/java/org/jenkinsci/test/acceptance/plugins/active_directory/ActiveDirectorySecurity.java
src/main/java/org/jenkinsci/test/acceptance/plugins/ldap/LdapEnv.java
src/main/java/org/jenkinsci/test/acceptance/utils/pluginTests/SecurityConfigUtils.java
src/main/java/org/jenkinsci/test/acceptance/utils/pluginTests/SecurityDisabler.java
src/test/java/plugins/ActiveDirectoryTest.java
src/test/java/plugins/no_docker/LdapPluginNoDockerTest.java
http://jenkins-ci.org/commit/acceptance-test-harness/2c87fd8530c83bee5dc61caab1b8051d76ec9c6a
Log:
JENKINS-25576A Ldap plugin test that runs with LDAP server is added.There was only one Ldap plugin test which requires Docker to run. The
newly created LdapPluginNoDockerTest runs without Docker but with a
real LDAP server. Detailed configuration information can be set through
environment variables.
Because LdapPluginNoDockerTest has similar test stories with
ActiveDirectoryTest, ActiveDirectoryTest is refactored to reduce
duplicate code.
Change-Id: If729ceb05eb96a0b3abfc33fa141b748a0ba461a