Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2274

Integration tests that test concurrency could theoretically pass even when concurrency issues persist.

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Fedora 5.0.0
    • Component/s: f4-core
    • Labels:
    • Sprint:
      Sprint 2017 - 20

      Description

      FedoraLDPIT contains the following tests:

      testConcurrentPuts
      testConcurrentPutsWithPairtrees
      testConcurrentUpdatesToBinary
      testConcurrentPatches

      All of them have the basic pattern that we start a bunch of thread that perform concurrent operations at roughly the same time and make sure they do the appropriate things. In practices these tests consistently failed without the concurrency fix and always passed with the fix, but there's no guarantee they'll fail even without concurrency control depending on variations on the thread scheduling in the machine on which the tests are running.

      Apparently there are fancy frameworks that will allow us to elevate these tests from smoke-tests to something that will actually make assertions about our code in hypothetical but precise concurrency scenarios.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mdurbin Michael Durbin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: