Commit Graph

20 Commits (86b314c624713e2eee80d518df847afb5cb096c2)

Author SHA1 Message Date
Norbert Heusser f424667fca Merge branch 'develop' into NorbertHeusser:develop 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
Norbert Heusser 306b76d7f6 Create github build action to build Mosquitto and added timeout
to python tests waiting for subprocess to avoid github actione being blocked

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light 93ed5721e2 No need to set keepalive in most tests. 4 years ago
Roger A. Light 8cd2411ab6 Tests should typically use `listener` instead of `port`. 4 years ago
Roger A. Light 7842323c0d Test fixes. 5 years ago
Roger A. Light 69f84bbca9 Simplify "expect_packet" tests. 5 years ago
Karl Palsson 3d45c3186c test/broker: align identical code
06-bridge-b2br-disconnect-qos1 and
06-bridge-br2b-disconnect-qos1 have ~identical header code.

unify the identical bits to make it easier to visually see this.

Signed-off-by: Karl Palsson <karlp@etactica.com>
6 years ago
Roger A. Light b9360bb147 Fixes for 06 broker v5 tests 6 years ago
Roger A. Light 87bd08b0e0 Add MQTT v5 support to bridge tests. 6 years ago
Roger A. Light 636d0f1f74 Fix printing on broker tests. 7 years ago
Roger A. Light 7e49d91898 Convert tests to Python 3 7 years ago
Roger A. Light 34e7da426c Use test helper for importing modules. 7 years ago
Roger A. Light 5d2f5c25d7 Experimental parallel testing for broker. 8 years ago
Roger A. Light 51aa7b7121 Update tests as a step towards parallelism. 8 years ago
Roger A. Light 2b2279363b Bridge defaults to mqtt3.1.1 as per documentation. 9 years ago
Roger A. Light 4a67fcebc5 More codacy test fixes. 10 years ago
Roger A. Light 07b21f0fe5 Fix minor test problems highlighted by codacy.com. 10 years ago
Roger A. Light 6427105bf6 Tests can now use valgrind. 11 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago