Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1914

Fix modeshape-connector-cmis test failure

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 3.3.0.Final
    • 3.2.0.Final
    • None
    • None

    Description

      I'm seeing a test failure in the modeshape-connector-cmis integration tests. It seems like the CMIS source is not fully initialized by the time the tests run in my environment.

      The tests did pass after I added a Thread.sleep(5000) below this line:

          
          @BeforeClass
          public static void beforeAll() throws Exception {
              RepositoryConfiguration config = RepositoryConfiguration.read("config/repository-1.json");
              startRepository(config);
          }
      

      https://github.com/ModeShape/modeshape/blob/master/connectors/modeshape-connector-cmis/src/test/java/org/modeshape/connector/cmis/CmisConnectorIT.java#L70

      Is there something I should do instead, e.g. to poll for a ready state?

      Attachments

        Activity

          People

            oleg.kulikov Oleg Kulikov (Inactive)
            cbeer_jira Chris Beer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: