Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The following tests are failing on Windows quite often:

      • SoftAutoCommitTest (all tests): There seem to be wrong assumes - I dont like the test "testing" how fast something is (there are slow machines or machines with <= 2 cores)
      • TestSolrDeletionPolicy1.testCommitAge() - also maybe timing issue. Otherwise I think the custom Solr DeletionPolicy is not respecting the fact that Windows cannot delete open files
      • TestRealTimeGet.testStressRecovery(): See also SOLR-3461 for more discussion

      I annotate the tests with an assume disabling Windows until this is fixed.

        Issue Links

          Activity

          Hide
          Hoss Man added a comment -

          removing fixVersion=4.0 since there is no evidence that anyone is currently working on this issue. (this can certainly be revisited if volunteers step forward)

          Show
          Hoss Man added a comment - removing fixVersion=4.0 since there is no evidence that anyone is currently working on this issue. (this can certainly be revisited if volunteers step forward)
          Hide
          Robert Muir added a comment -

          rmuir20120906-bulk-40-change

          Show
          Robert Muir added a comment - rmuir20120906-bulk-40-change
          Hide
          Hoss Man added a comment -

          bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment

          Show
          Hoss Man added a comment - bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment
          Hide
          Uwe Schindler added a comment -

          Hoss wrote on dev list:

          : From:
          : http://jenkins.sd-datasolutions.de/job/Windows-Lucene-Solr-tests-only-trunk/63/testReport/junit/org.apache.solr.update/SoftAutoCommitTest/testSoftAndHardCommitMaxTimeMixedAdds/
          :
          : soft529 occured too fast: 1337365513160 + 500 !<= 1337365513589
          :
          : Is 'too fast' really an error?
          :
          : I thought the contract with commit times is that it happens within
          : some amount of time "too fast" would be before we issue a
          : request.... or am I missing something?

          I believe that my intent with that assert is that since this is a single threaded test, nothing else should be triggering any commits ... so if we see a softCommit happening before the softCommitWaitMillis has elapsed, it must have been triggered by something else, but there isn't suppose to be anything else that could have caused it, so it must be a bug.

          That said: i will not cry it you want to remove the assert.

          I wrote that test in a paranoia induced psychosis brought on by trying to recreate the functional logic of the previous auto commit test(s) while simultenously trying to avoid all of hte absurd assumptions that plauged those test(s).

          -Hoss

          Show
          Uwe Schindler added a comment - Hoss wrote on dev list: : From: : http://jenkins.sd-datasolutions.de/job/Windows-Lucene-Solr-tests-only-trunk/63/testReport/junit/org.apache.solr.update/SoftAutoCommitTest/testSoftAndHardCommitMaxTimeMixedAdds/ : : soft529 occured too fast: 1337365513160 + 500 !<= 1337365513589 : : Is 'too fast' really an error? : : I thought the contract with commit times is that it happens within : some amount of time "too fast" would be before we issue a : request.... or am I missing something? I believe that my intent with that assert is that since this is a single threaded test, nothing else should be triggering any commits ... so if we see a softCommit happening before the softCommitWaitMillis has elapsed, it must have been triggered by something else, but there isn't suppose to be anything else that could have caused it, so it must be a bug. That said: i will not cry it you want to remove the assert. I wrote that test in a paranoia induced psychosis brought on by trying to recreate the functional logic of the previous auto commit test(s) while simultenously trying to avoid all of hte absurd assumptions that plauged those test(s). -Hoss
          Hide
          Uwe Schindler added a comment -

          Disabled tests for Windows in revision: 1340687

          Show
          Uwe Schindler added a comment - Disabled tests for Windows in revision: 1340687

            People

            • Assignee:
              Unassigned
              Reporter:
              Uwe Schindler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development