Class DbCachingLoadAndOperateTest


public class DbCachingLoadAndOperateTest extends AbstractDbCachingLoadTest
Tests that DbCaching directories can still function while a synchronisation is occurring. The synchronisation is assumed to take a longer time (at the moment approx. 4 mins) than the tests takes to run, otherwise the test will fail and an even bigger synchronisation task would have to be performed.
  • Constructor Details

    • DbCachingLoadAndOperateTest

      public DbCachingLoadAndOperateTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class AbstractDbCachingLoadTest
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • operationsDuringSync

      public void operationsDuringSync() throws Exception
      Tests that Crowd still functions properly during a directory sync. The operations chosen were those which might have interfered with the current directory sync (adding/removing users from the directory being sync'ed), and common operations that applications might perform (retrieving all the users of an application).
      Throws:
      Exception