Commit Graph
26 Commits
Author SHA1 Message Date
Roger A. Light d17a88d916 Refactor headers for easier discovery. 2023-12-23 12:59:58 +00:00
Roger A. Light c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light 529e567ead Fix Coverity Scan 1504066 2023-01-25 11:02:54 +00:00
Roger A. Light 291e46bb1a Attempt to fix CI specific failure. 2023-01-11 10:07:29 +00:00
Roger A. Light 343a984083 Big rejig of library tests
Includes full consistency between C/C++ library tests
2023-01-02 11:45:09 +00:00
Roger A. Light 52da5c0b78 Fix Coverity Scan 1499829, double free. 2022-10-16 14:47:16 +01:00
Kai Buschulte a883bda9c1 Add CMake test target
Use `ctest` or `make test` to run all tests.
With this it's also possible to run tests on a Mac.

Relative paths used in tests become absolute ones to make tests
executable from any build folder.

Also fixed race condition in
  test/broker/11-persistent-subscription-no-local.py

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-06-22 23:56:50 +01:00
Roger A. Light 5a3b42d4a4 Use path vars in Makefiles. 2022-02-09 14:44:09 +00:00
Roger A. Light 6f8ced5038 Test fixes. 2022-02-01 09:52:41 +00:00
Roger A. Light 92c6fcf547 Tests should exit gracefully rather than being terminated. 2022-01-30 23:48:09 +00:00
Roger A. Light 79028bcb14 Fix duplicate frees in tests. 2020-10-14 10:16:47 +01:00
Roger A. Light a65f946e83 Move headers to own directory. 2020-10-07 22:06:01 +01:00
Roger A. Light c90e49af1b Merge remote-tracking branch 'origin/fixes' into develop 2020-09-24 17:03:14 +01:00
Roger A. Light ba2c00137d Fix client test leaks. 2020-08-12 15:18:17 +01:00
Roger A. Light b2e72a7e7c Fix memory leaks only in tests. 2020-05-05 14:19:04 +01:00
Roger A. Light 17db97584e Fix client keepalive test using too low keepalive. 2020-01-30 15:06:15 +00:00
Roger A. Light 689989cc56 Fix inflight quota inc/dec for both broker and library. 2019-04-17 16:15:41 +01:00
Roger A. Light 6609bbac10 Move topic matching tests to unit tests. Needs improving. 2018-10-10 17:52:41 +01:00
Roger A. Light 34c8c28e9d Remove old UTF-8 tests. 2018-10-04 13:18:46 +01:00
Roger A. Light ba71bc3b32 Experimental parallel testing for library. 2018-04-16 10:02:22 +01:00
Roger A. Light b11855821e Update UTF-8 validation checks. 2017-07-30 21:57:43 +01:00
Roger A. Light 1c3988a397 Merge branch 'master' into develop 2016-06-21 23:33:58 +01:00
Roger A. Light cdbe62c2bb Outgoing messages with QoS>0 are no longer retried after a timeout.
This change in behaviour can be justified by considering when the
timeout may have occurred.

* If a connection is unreliable and has dropped, but without one end
  noticing, the messages will be retried on reconnection. Sending
  additional PUBLISH or PUBREL would not have changed anything.

* If a client is overloaded/unable to respond/has a slow connection then
  sending additional PUBLISH or PUBREL would not help the client catch
  up. Once the backlog has cleared the client will respond. If it is not
  able to catch up, sending additional duplicates would not help either.
2015-05-24 11:59:53 +01:00
Roger A. Light 5146779c44 Add client test for encrypted x509 keys. 2014-05-26 15:48:07 +01:00
Roger Light 0364bd1be7 Initial contribution. 2014-05-07 23:27:00 +01:00