msgq.feature 867 B

123456789101112131415161718
  1. Feature: Message queue tests
  2. Tests for the message queue daemon.
  3. Scenario: logging
  4. # We check the message queue logs.
  5. Given I have bind10 running with configuration default.config
  6. And wait for bind10 stderr message BIND10_STARTED_CC
  7. And wait for bind10 stderr message MSGQ_START
  8. And wait for bind10 stderr message MSGQ_LISTENER_STARTED
  9. And wait for bind10 stderr message MSGQ_CFGMGR_SUBSCRIBED
  10. And wait for bind10 stderr message CMDCTL_STARTED
  11. # Check it handles configuration. The configuration is invalid,
  12. # but it should get there anyway and we abuse it.
  13. # TODO: Once it has any kind of real command or configuration
  14. # value, use that instead.
  15. Then set bind10 configuration Msgq to {"nonsense": 1}
  16. And wait for bind10 stderr message MSGQ_CONFIG_DATA