1. 11 Dec, 2020 1 commit
  2. 17 Nov, 2020 3 commits
  3. 09 Nov, 2020 3 commits
  4. 08 Nov, 2020 1 commit
  5. 05 Nov, 2020 2 commits
    • Kirill Smelkov's avatar
      X bigfile/_file_zodb: Fix ZSync to close not only wconn, but also wconn.wc... · a9a82d5a
      Kirill Smelkov authored
      X bigfile/_file_zodb: Fix ZSync to close not only wconn, but also wconn.wc through which wconn was created
      pywconnOf, before creating wconn, performs wc=wcfs.join(zurl) which
      creates new filesystem-level connection to WCFS server. This wc is used
      only to create wconn. So if we do not close wc, after releaseing wconn,
      it will leak opened file descriptor, to e.g. .wcfs/zurl and prevent
      tests from finishing cleanly.
    • Kirill Smelkov's avatar
      . · 4e23152e
      Kirill Smelkov authored
  6. 04 Nov, 2020 1 commit
  7. 03 Nov, 2020 3 commits
    • Kirill Smelkov's avatar
      X bigfile/_file_zodb: Fix logic around ZSync usage · 8bf8f23b
      Kirill Smelkov authored
      The logic inside ZSync was correct, but it was incorrect to attach zsync
      to zconn to stay alive and react when that zconn is garbage collected:
      zsync._on_zconn_dealloc was not called because zsync itself was garbage
      collected too.
      This fixes many failures where wconn and associated pinner was not
      released even though ZODB DB was correctly closed.
    • Kirill Smelkov's avatar
      bigfile/_file_zodb: Test for ZSync · 75857c32
      Kirill Smelkov authored
      Excercise the logic that keeps wconn <-> zconn in sync.
    • Kirill Smelkov's avatar
      X bigfile/_file_zodb: Import wendelin.wcfs, not just wcfs · 2ba7cb52
      Kirill Smelkov authored
      Else, when runing tests intree `import wcfs` and `import wendelin.wcfs`
      will give two different modules, and inspecting e.g. wendelin.wcfs at
      teardown will see fresh module state (_wcregistry) because it was wcfs
      which was used.
      Also just `import wcfs` will raise ImportError when run out of tree.
  8. 11 Oct, 2020 1 commit
    • Kirill Smelkov's avatar
      X *: tests: don't hang on exception in non-main thread · 7ecb8f14
      Kirill Smelkov authored
      Previously if an assert or something failed in spawned thread, the main
      thread was usually spinning indefinitely = tests hang. -> Switch all
      threading places to use sync.WorkGroup and this way if a thread fails,
      all other threads are canceled and the exception is reported back to
      wg.wait in main thread.
  9. 10 Sep, 2020 1 commit
  10. 17 Apr, 2020 2 commits
  11. 16 Apr, 2020 1 commit
  12. 15 Apr, 2020 12 commits
  13. 14 Apr, 2020 9 commits