1. 22 Dec, 2021 2 commits
  2. 16 Dec, 2021 2 commits
    • Bjorn Svensson's avatar
      Support PING while subscribing (RESP2) (#1027) · d3384260
      Bjorn Svensson authored
      * Handle PING during pubsub in RESP2
      
      * Rename invalid callback list
      
      Some commands are valid to send during a subscribe in RESP2, and
      most in RESP3. Renaming the callback list from `invalid` to `replies`
      to detail this fact.
      
      * Fix review comment
      d3384260
    • Michael Grunder's avatar
      FreeBSD build fixes + CI (#1026) · e3a479e4
      Michael Grunder authored
      
      
      * BSD linkage fix proposal
      
      * Touch up the Makefile to fix BSD builds
      
      Fixes #984
      
      * Add a build in FreeBSD to GitHub Actions
      
      Lots of people use hiredis in FreeBSD so this should reduce some pain
      moving forward.
      Co-authored-by: default avatarDavid Carlier <devnexen@gmail.com>
      e3a479e4
  3. 01 Dec, 2021 1 commit
    • Bjorn Svensson's avatar
      Add asynchronous test for pubsub using RESP3 (#1012) · da5a4ff3
      Bjorn Svensson authored
      * Include `unsubscribe` as a subscribe reply in RESP3
      
      By providing the (p)unsubscribe message via the subscribe callback,
      instead of via the push callback, we get the same behavior in RESP3
      as in RESP2.
      
      * Add asynchronous test for pubsub using RESP3
      
      The testcase will subscribe to a channel, and via a second client
      a message is published to the channel. After receiving the message
      the testcase will unsubscribe and disconnect.
      
      This RESP3 testcase reuses the subscribe callback from the RESP2
      testcase to make sure we have a common behavior.
      da5a4ff3
  4. 25 Nov, 2021 1 commit
    • Bjorn Svensson's avatar
      Valgrind returns error exit code when errors found (#1011) · b5716ee8
      Bjorn Svensson authored
      By default Valgrind will return the exit code from the tested process.
      Since our test can return 0 (ALL TESTS PASS) even when a leak was
      found we need to tell Valgrind to return an error code.
      This will fail the CI job when issues are found.
      b5716ee8
  5. 18 Nov, 2021 3 commits
  6. 17 Nov, 2021 1 commit
  7. 27 Oct, 2021 1 commit
  8. 26 Oct, 2021 1 commit
    • Björn Svensson's avatar
      Add build options for enabling async tests · 648763c3
      Björn Svensson authored
      Asynchronous testcases that requires the event library `libevent`
      can be built and enabled by using the added build flags:
      - ENABLE_ASYNC_TESTS when using CMake
      - TEST_ASYNC when using Make
      
      The async tests are disabled by default to avoid adding new requirements,
      but the testcases are built and run in CI.
      648763c3
  9. 21 Oct, 2021 1 commit
    • Bjorn Svensson's avatar
      Correcting the build target `coverage` for enabled SSL (#1009) · c98c6994
      Bjorn Svensson authored
      * Exclude includes from /usr in coverage reporting
      
      * Correct build target `coverage` for enabled ssl
      
      `USE_SSL=1 make coverage` will now build the test binary with the
      forwarded define HIREDIS_TEST_SSL. This avoids inconsistency between
      built test binary and the testrunner `test.sh`.
      This enables test coverage measurements for SSL too.
      c98c6994
  10. 20 Oct, 2021 1 commit
  11. 14 Oct, 2021 1 commit
  12. 12 Oct, 2021 3 commits
  13. 10 Oct, 2021 4 commits
  14. 09 Oct, 2021 1 commit
  15. 07 Oct, 2021 3 commits
  16. 04 Oct, 2021 3 commits
  17. 03 Oct, 2021 1 commit
  18. 19 Aug, 2021 1 commit
  19. 11 Jul, 2021 1 commit
  20. 17 Jun, 2021 1 commit
  21. 23 May, 2021 1 commit
  22. 02 May, 2021 3 commits
  23. 24 Apr, 2021 1 commit
  24. 11 Apr, 2021 1 commit
  25. 08 Apr, 2021 1 commit