Mosquitto example exits after a single message is received

Bug #1577867 reported by Kyle Fazzari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Low
Leo Arias

Bug Description

The mosquitto example was modified to exit after receiving a single message in order to work around a difficulty in killing the service in tests. This fixes the tests but makes for an example that is not very useful as such-- services aren't typically written that exit after a single message is received. We should be careful about our examples being more focused on being a test infrastructure than they are on being actual examples.

Perhaps the example could be updated to quit upon a given message and otherwise continue running so people can play with it without it quitting immediately?

Tags: bitesize tests
Kyle Fazzari (kyrofa)
Changed in snapcraft:
importance: Undecided → Low
Leo Arias (elopio)
tags: added: bitesize tests
Changed in snapcraft:
status: New → In Progress
assignee: nobody → Leo Arias (elopio)
milestone: none → 2.28
Revision history for this message
Leo Arias (elopio) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.