Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9148

camel-hbase tests pass despite setup error

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.17.0
    • camel-hbase
    • None
    • Unknown

    Description

      there is clause in tests: when system is not ready (a local test cluster failed) then test is passed. It concerns all test cases. It is because a setUp method is:

      try {
                  hbaseUtil.startMiniCluster(numServers);
              } catch (Exception e) {
                  LOG.error("couldn't start HBase cluster.", e);
                  systemReady = false;
              }
      

      in my opinion this catch should be droped. When start of a miniCluster is failed, then tests should failed.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            woj_in Wojciech Indyk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: