Commit Graph

72 Commits

Author SHA1 Message Date
Ian Craggs 7fabf60235 Fix compile warnings about no function prototype 2024-04-02 16:06:38 +01:00
fpagliughi cfc5aaa3bf Added documentation for mqtt:// and mqtts:// protocols. Changed some tests and samples to use them. 2022-09-27 20:26:30 -04:00
Ian Craggs bb7bd8f751 Remove debug from CI tests 2022-07-02 18:20:55 +01:00
Ian Craggs 6ef109dbfb Change trace level 2022-07-01 12:03:40 +01:00
Ian Craggs 90ef1087fb Add test trace debug 2022-07-01 11:41:33 +01:00
Ian Craggs 17fd7a8446 Add some assertions to test5 2022-06-30 19:31:24 +01:00
Ian Craggs 9f5a4a322d More debugging 2022-02-07 10:01:35 +00:00
Ian Craggs af76f620fa Narrow down test debug 2022-02-06 22:38:54 +00:00
Ian Craggs 140418771c Some more test adjustments 2022-02-06 17:03:12 +00:00
Ian Craggs 8d1aa132c2 Add further poll debug 2022-02-06 15:07:20 +00:00
Ian Craggs 6a68f4420c Add test debug and lengthen some timeouts 2022-02-06 13:07:36 +00:00
Ian Craggs b79bcf0d40 Update out of date mqtt server hostnames 2022-01-27 16:41:46 +00:00
Ian Craggs 332662ec6a Remove compile warnings in tests 2020-10-27 20:09:51 +00:00
Ian Craggs e4c3757524 Update tests to remove compile warnings on Ubuntu 20.04 2020-10-02 15:55:42 +01:00
Ian Craggs 153dfd3a4a Remove non-windows code in test5 2020-08-05 15:31:05 +01:00
Ian Craggs f0690b6298 Some fixes for test5 ws 2020-08-05 13:16:12 +01:00
Ian Craggs 1e91229cb6 Update license from EPL v1 to v2 2020-04-06 13:27:50 +01:00
Ian Craggs afb8c90d86 Fix for use of SSL with HA serverURIs #813 #814 2020-03-18 12:47:47 +00:00
Adrian Moran 0b5f10cd42 Fix test 5 2a.
Signed-off-by: Adrian Moran <amoran@ikerlan.es>
2020-03-10 10:51:28 +01:00
fpagliughi fbd38b16cf
#368 Add underscores to Windows compiler macro checks, _WIN32 and _WIN64
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-01-25 10:38:18 -05:00
Ian Craggs fdf5387d1b Improve test5 TLS testing 2019-09-26 14:21:26 +01:00
Ian Craggs 20713e9b9c Updates for ws testing 2019-09-17 13:26:07 +01:00
Ian Craggs 6fdcc7bd2b Debug test45 pending-tokens 2019-08-02 17:10:31 +01:00
Ian Craggs fd90bc4927 Big message test refactoring again 2019-08-01 18:37:33 +01:00
Ian Craggs f7abd15641 MQTT protocol debug for big message test 2019-08-01 14:07:08 +01:00
Ian Craggs 1dd931ae26 Correct big message test timing (2) 2019-08-01 12:10:15 +01:00
Ian Craggs 91a7727c0b Alternative debug method 2019-08-01 11:23:37 +01:00
Ian Craggs 59ea130410 Turn back on trace to debug big message test 2019-08-01 10:57:58 +01:00
Ian Craggs 555df54771 Update big message test for reliable timing 2019-08-01 10:16:49 +01:00
Ian Craggs 67041b420a Add temporary tracing for test5-7-big-messages to debug Travis MacOS failure 2019-07-31 17:44:33 +01:00
Ian Craggs 99d896fc56 Reduce size of message in big message test for Travis MacOS test 2019-07-30 20:40:41 +01:00
Ian Craggs 0168090fc0 Correct tests running in test5.c, including capath tests 2019-07-30 16:49:28 +01:00
Ian Craggs a033301fce Merge branch 'develop' of https://github.com/janderholm/paho.mqtt.c into janderholm-develop 2019-07-24 20:57:11 +01:00
Kilian von Pflugk 87450e252c add capath test
Signed-off-by: Kilian von Pflugk <github@jumoog.io>
2019-04-15 20:17:38 +02:00
Johan Anderholm 19aa5bbbe6 Added tests for TLS-PSK
Signed-off-by: Johan Anderholm <johanam@axis.com>
2018-11-08 13:12:27 +01:00
Ian Craggs 296fe57cd2 MQTT V5 persistence updates #534 2018-09-05 22:13:40 +01:00
Ian Craggs 7448d7bfa0 Eliminate some Windows compile warnings
Please enter the commit message for your changes. Lines starting
2018-08-16 19:14:00 +01:00
Ian Craggs 205a5a201a Update utilities for MQTT V5 and websockets #504 2018-07-18 21:27:13 +01:00
Ian Craggs a892672057 Add full test1 tests for V5 2018-05-31 17:10:34 +01:00
Ian Craggs e4c2ed2327 Add TLS config for client and server for hostname verification #420 2018-03-01 20:24:23 +00:00
Ian Craggs 695563fccb Add TLS hostname check and CApath #420 #418 2018-03-01 19:52:20 +00:00
Ian Craggs 8276dcd217 Add tests for wrong protocol name #294 2018-02-26 16:57:13 +00:00
Ian Craggs adf15a38a1 Check for SSLOptions structure when SSL protocol prefix is used #334 2018-02-26 16:20:37 +00:00
Ian Craggs 1d9b394c03 Reduce log verbosity for test 2d 2017-04-21 15:18:08 +01:00
Ian Craggs dcf457e08a Fix for issue #190 2017-04-21 15:00:55 +01:00
Juergen Kosel 34e550071c In test5 - 2d the client must not have the valid client certificate!
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-12 19:44:17 +02:00
Juergen Kosel 52ac56938b Reduce time for test2d
- Reduce the number of iterations to 20 (It usually fails in iteration 3)
- Reduce the timeout by factor 10

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 18:58:41 +02:00
Juergen Kosel 568d82407a Include MQTTAsync_create() call in the test iteration loop for test2d
With the call of MQTTAsync_create() within the iteration loop, the test
fails.
Remove the opts.serverURIs

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 16:45:49 +02:00
Juergen Kosel b2a26f2840 Enable the server certificate in test5-2d
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 16:41:36 +02:00
Juergen Kosel 5809b05bb4 Set the serverURI in the corresponding array of the connect options for test5-2d
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 16:41:36 +02:00