Skip to content
Snippets Groups Projects
  1. Dec 08, 2023
  2. Nov 28, 2023
  3. Nov 27, 2023
    • Mario Oenning's avatar
      fix(tests): Fix test case for Prometheus metrics · 4637b2ed
      Mario Oenning authored
      
      Disable prometheus multiprocess mode in tests to avoid global state:
      Depending on the workers which are processing a testfile,
      we might run into race issues where tests might influence each other.
      
      We also need to make sure to clear any previously collected values
      in case the same worker/process is executing different tests which
      evaluate prometheus values.
      
      Signed-off-by: default avatarmoson <moson@archlinux.org>
      4637b2ed
  4. Nov 25, 2023
  5. Nov 24, 2023
  6. Nov 12, 2023
  7. Oct 21, 2023
  8. Oct 20, 2023
  9. Oct 18, 2023
  10. Oct 15, 2023
  11. Oct 12, 2023
  12. Oct 05, 2023
    • Mario Oenning's avatar
      fix(deps): update dependencies · 2166426d
      Mario Oenning authored
      
      * Updating typing-extensions (4.5.0 -> 4.8.0)
      * Installing annotated-types (0.5.0)
      * Updating anyio (3.6.2 -> 3.7.1)
      * Installing pydantic-core (2.10.1)
      * Updating certifi (2023.5.7 -> 2023.7.22)
      * Updating cffi (1.15.1 -> 1.16.0)
      * Updating greenlet (2.0.2 -> 3.0.0)
      * Updating markupsafe (2.1.2 -> 2.1.3)
      * Updating packaging (23.1 -> 23.2)
      * Updating pluggy (1.0.0 -> 1.3.0)
      * Updating pydantic (1.10.7 -> 2.4.2)
      * Updating charset-normalizer (3.1.0 -> 3.3.0)
      * Updating click (8.1.3 -> 8.1.7)
      * Updating coverage (7.2.7 -> 7.3.2)
      * Updating cryptography (40.0.2 -> 41.0.4)
      * Updating dnspython (2.3.0 -> 2.4.2)
      * Updating execnet (1.9.0 -> 2.0.2)
      * Updating fastapi (0.100.1 -> 0.103.2)
      * Updating httpcore (0.17.0 -> 0.17.3)
      * Updating parse (1.19.0 -> 1.19.1)
      * Updating prometheus-client (0.16.0 -> 0.17.1)
      * Updating pytest (7.4.0 -> 7.4.2)
      * Updating redis (4.6.0 -> 5.0.1)
      * Updating urllib3 (2.0.2 -> 2.0.6)
      * Updating aiofiles (23.1.0 -> 23.2.1)
      * Updating alembic (1.11.2 -> 1.12.0)
      * Updating fakeredis (2.17.0 -> 2.19.0)
      * Updating filelock (3.12.2 -> 3.12.4)
      * Updating orjson (3.9.2 -> 3.9.7)
      * Updating protobuf (4.23.4 -> 4.24.4)
      * Updating pygit2 (1.12.2 -> 1.13.1)
      * Updating werkzeug (2.3.6 -> 3.0.0)
      
      Signed-off-by: default avatarmoson <moson@archlinux.org>
      2166426d
  13. Oct 02, 2023
  14. Sep 30, 2023
  15. Sep 26, 2023
  16. Sep 03, 2023
  17. Sep 01, 2023
    • Mario Oenning's avatar
      fix(test): Clear previous prometheus data for test · 1433553c
      Mario Oenning authored
      
      It could happen that test data is already generated by a previous test.
      (running in the same worker)
      
      Make sure we clear everything before performing our checks.
      
      Signed-off-by: default avatarmoson <moson@archlinux.org>
      1433553c
    • Mario Oenning's avatar
      fix(test): Remove file locking and semaphore · 5699e9bb
      Mario Oenning authored
      
      All tests within a file run in the same worker and out test DB names
      are unique per file as well. We don't really need a locking
      mechanism here.
      
      Same is valid for the test-emails. The only potential issue is that it
      might try to create the same directory multiple times and thus run
      into an error. However, that can be covered by specifying
      "exist_ok=True" with os.makedirs such that those errors are ignored.
      
      Signed-off-by: default avatarmoson <moson@archlinux.org>
      5699e9bb
  18. Aug 27, 2023
  19. Aug 18, 2023
  20. Aug 04, 2023
  21. Jul 27, 2023
  22. Jul 25, 2023
Loading