mosquitto/test/broker/Makefile
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

97 lines
1.9 KiB
Makefile

include ../../config.mk
.PHONY: all clean test
.NOTPARALLEL:
all :
clean :
-rm -f *.vglog
$(MAKE) -C c clean
test-compile :
$(MAKE) -C c
test : test-compile 01 02 03 04 05 06 07 08 09 10
01 :
./01-connect-success.py
./01-connect-invalid-protonum.py
./01-connect-invalid-id-0.py
./01-connect-invalid-id-0-311.py
./01-connect-invalid-id-missing.py
./01-connect-anon-denied.py
./01-connect-uname-no-password-denied.py
./01-connect-uname-password-denied.py
ifeq ($(WITH_TLS),yes)
./01-connect-uname-password-success.py
else
./01-connect-uname-password-success-no-tls.py
endif
02 :
./02-subscribe-qos0.py
./02-subscribe-qos1.py
./02-subscribe-qos2.py
./02-subpub-qos0.py
./02-subpub-qos1.py
./02-subpub-qos2.py
./02-unsubscribe-qos0.py
./02-unsubscribe-qos1.py
./02-unsubscribe-qos2.py
03 :
./03-publish-qos1.py
./03-publish-qos2.py
./03-publish-b2c-disconnect-qos1.py
./03-publish-c2b-disconnect-qos2.py
./03-publish-b2c-disconnect-qos2.py
./03-pattern-matching.py
04 :
./04-retain-qos0.py
./04-retain-qos0-fresh.py
./04-retain-qos0-repeated.py
./04-retain-qos1-qos0.py
./04-retain-qos0-clear.py
05 :
./05-clean-session-qos1.py
06 :
./06-bridge-reconnect-local-out.py
./06-bridge-br2b-disconnect-qos1.py
./06-bridge-br2b-disconnect-qos2.py
./06-bridge-b2br-disconnect-qos1.py
./06-bridge-b2br-disconnect-qos2.py
07 :
./07-will-qos0.py
./07-will-null.py
./07-will-null-topic.py
08 :
ifeq ($(WITH_TLS),yes)
./08-ssl-connect-no-auth.py
./08-ssl-connect-no-auth-wrong-ca.py
./08-ssl-connect-cert-auth.py
./08-ssl-connect-cert-auth-without.py
./08-ssl-connect-cert-auth-expired.py
./08-ssl-connect-cert-auth-revoked.py
./08-ssl-connect-cert-auth-crl.py
./08-ssl-connect-identity.py
./08-ssl-connect-no-identity.py
./08-ssl-bridge.py
./08-tls-psk-pub.py
./08-tls-psk-bridge.py
endif
09 :
./09-plugin-auth-unpwd-success.py
./09-plugin-auth-unpwd-fail.py
10 :
./10-listener-mount-point.py