Commit Graph

24 Commits (41f0d34348f378219f1c9af419884260cca1a5ab)

Author SHA1 Message Date
Roger A. Light a31bee722f Simplify make build. 2 years ago
Roger A. Light 529e567ead Fix Coverity Scan 1504066 3 years ago
Roger A. Light 291e46bb1a Attempt to fix CI specific failure. 3 years ago
Roger A. Light 343a984083 Big rejig of library tests
Includes full consistency between C/C++ library tests
3 years ago
Roger A. Light 52da5c0b78 Fix Coverity Scan 1499829, double free. 3 years ago
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>
3 years ago
Roger A. Light 5a3b42d4a4 Use path vars in Makefiles. 4 years ago
Roger A. Light 6f8ced5038 Test fixes. 4 years ago
Roger A. Light 92c6fcf547 Tests should exit gracefully rather than being terminated. 4 years ago
Roger A. Light 79028bcb14 Fix duplicate frees in tests. 5 years ago
Roger A. Light a65f946e83 Move headers to own directory. 5 years ago
Roger A. Light c90e49af1b Merge remote-tracking branch 'origin/fixes' into develop 5 years ago
Roger A. Light ba2c00137d Fix client test leaks. 5 years ago
Roger A. Light b2e72a7e7c Fix memory leaks only in tests. 5 years ago
Roger A. Light 17db97584e Fix client keepalive test using too low keepalive. 6 years ago
Roger A. Light 689989cc56 Fix inflight quota inc/dec for both broker and library. 7 years ago
Roger A. Light 6609bbac10 Move topic matching tests to unit tests. Needs improving. 7 years ago
Roger A. Light 34c8c28e9d Remove old UTF-8 tests. 7 years ago
Roger A. Light ba71bc3b32 Experimental parallel testing for library. 8 years ago
Roger A. Light b11855821e Update UTF-8 validation checks. 8 years ago
Roger A. Light 1c3988a397 Merge branch 'master' into develop 9 years ago
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.
11 years ago
Roger A. Light 5146779c44 Add client test for encrypted x509 keys. 12 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago