mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
Bug 4104: Added timeout for SecurityService in JUnit test. Just for testing purposes, should not be used in production!
This commit is contained in:
+2
-1
@@ -97,8 +97,9 @@ public class TaggingServiceTest {
|
||||
Activator.setSecurityService(securityService);
|
||||
} else {
|
||||
logger.info("Setup for TaggingServiceTest in an OSGi environment");
|
||||
// TODO: This timeout of 2 minutes ist just for debugging purpose and should not be used in production!
|
||||
securityService = ServiceTrackerFactory.createAndOpen(Activator.getContext(), SecurityService.class)
|
||||
.getService();
|
||||
.waitForService(120 * 1000);
|
||||
}
|
||||
// create & login user
|
||||
securityService.createSimpleUser(username, email, password, fullName, company, null);
|
||||
|
||||
Reference in New Issue
Block a user