equal
deleted
inserted
replaced
257 throw new RuntimeException( |
257 throw new RuntimeException( |
258 "Error: failed to create LDAPServer, not found ldap " |
258 "Error: failed to create LDAPServer, not found ldap " |
259 + "cache file " + fileName); |
259 + "cache file " + fileName); |
260 } |
260 } |
261 |
261 |
262 Thread thread = new Thread(() -> { |
262 Thread thread = new LdapPlaybackServer(serverSocket, fileName); |
263 try { |
|
264 new test.LDAPServer(serverSocket, fileName); |
|
265 } catch (Exception e) { |
|
266 System.out.println("Warning: LDAP server running with issue"); |
|
267 e.printStackTrace(); |
|
268 } |
|
269 }); |
|
270 |
263 |
271 thread.start(); |
264 thread.start(); |
272 return thread; |
265 return thread; |
273 } |
266 } |
274 |
267 |