1. 20 Sep, 2017 2 commits
  2. 17 Sep, 2017 3 commits
  3. 15 Sep, 2017 3 commits
  4. 14 Sep, 2017 7 commits
  5. 13 Sep, 2017 1 commit
  6. 12 Sep, 2017 2 commits
    • Victor's avatar
      [bug] use sql file handler from adbapi threadpool · 058d1526
      Victor authored
      This commit makes all write calls happen inside the same thread that
      opened the blob handle. Doing it outside using FileBodyProducer will
      yield and run the writes across random reactor threads. This is an
      attempt to fix #8945
      -- Resolves: #8945
    • Victor's avatar
      [bug] do not allow concurrent schema creation · 969ab4eb
      Victor authored
      Moved schema creation and migrations to the pragma locked call, so we
      avoid it running concurrently on a thread pool.
      -- Resolves: #8945
  7. 11 Sep, 2017 12 commits
    • Victor's avatar
      [pkg] update changelog · ae11ec7d
      Victor authored
    • Victor's avatar
      [bug] close consumer on FileBodyProducer · 855ab772
      Victor authored
      It isn't closed by Twisted like the producer is.
      -- Resolves: #8924
      -- Related: #8932
    • Victor's avatar
      [tests] fix test_unarmored_blob_encrypt flakiness · 0d7bf313
      Victor authored
      AES can generate base64 valid strings, making this test flaky. Try to
      decrypt using armor=False instead.
    • drebs's avatar
      [refactor] do not use unneeded lambda · 80a5dcaf
      drebs authored and Victor's avatar Victor committed
    • drebs's avatar
      [test] print responsiveness results if no elastic url is given · 993f5ca6
      drebs authored and Victor's avatar Victor committed
    • drebs's avatar
      [test] selectivelly start events server on benchmarks · 89dd40d7
      drebs authored and Victor's avatar Victor committed
      Soledad's events server might be a pain for tests because if it is not
      properly initialized and shut down there might be parts of the server
      missing or leftover in the reactor after tests are run. With the recent
      changes to the way tests are invocated, there's the need to further
      isolate events server startup for benchmarks, otherwise it will conflict
      with other tests. This commit moves the events server setup to inside
      the pytest_collection_modifyitems() hook, where we can check if the
      benchmark subdir was selected and properly start the events server if
    • drebs's avatar
      [test] add --subdir option and blacklist · 8e6cddf7
      drebs authored and Victor's avatar Victor committed
      Use subdir path to select/deselect benchmark tests.
      Because of the way pytest and pytest benchamrk select/deselect tests, it
      makes more sense for this test suite to use a --subdir option to select
      only a subset of tests and a blacklist of subdirectories that should not
      be run unless explicitelly asked to.
      This commit adds a --subdir option, that will deselect all tests no in
      ./tests/<subdir> when the option is passed to pytest. Also, a blacklist
      is added so, unless explicitelly added as a --subdir, tests in
      blacklisted subdirectories will not be run.
      The reasons for this modification are:
      - pytest-benchmarks selects/deselects tests based on the type of their
        fixtures. This means that fixtures have to be instantiated previous to
        test selection/deselection, something that may cause side effects that
        we want to avoid.
      - the usual test suite is run for all benchmarks, while some tests
        should only be run in specific situations (as is the case of
        benchmarks and responsiveness tests). It is saner to implement subdir
        selection than marking all tests with pytest marks and using them to
    • drebs's avatar
      [benchmarks] post responsiveness tests to elasticsearch · f6a409a7
      drebs authored and Victor's avatar Victor committed
    • drebs's avatar
      [benchmarks] add responsiveness test with watchdog · 99cffc73
      drebs authored and Victor's avatar Victor committed
    • Victor's avatar
      [style] fixes from code review · 70aa789c
      Victor authored and drebs's avatar drebs committed
    • Victor's avatar
      [tests] improve isolation on user uuid · f5e2ec7f
      Victor authored and drebs's avatar drebs committed
      Hardcoded and repeated user uuids can lead to accidental concurrent
      operations between test cases, breaking isolation and creating random
      failures. This commit improves it a bit.
    • Victor's avatar
      [feature] save sync status on client side · f0e069b9
      Victor authored and drebs's avatar drebs committed
      Adds two new columns for sync status and retries. Also some initial
      rough logic for upload retry limiting.
      -- Resolves: #8823
      -- Related: #8822
  8. 08 Sep, 2017 3 commits
  9. 07 Sep, 2017 7 commits