summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-02-01 13:05:08 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2012-02-01 13:09:53 +0000
commiteecef2669555c65c20a01c55b7166593bac1d96b (patch)
treeaa7a381f52e81621f95323fddd6f37959c7dca15 /docs
parent43d93377facac1a7b9bae8e898c29b245ec476f5 (diff)
porter-test: fix /handler-stanza
test_close_porter() assumes test->sched_in has not been started, and calls wocky_xmpp_connection_recv_stanza_async() on test->in; the callback assumes that the call has failed with an error indicating that the stream has been closed. This would be fine if the test was sure there were no stanzas in the queue in test->in, but since my change to make WockyC2SPorter send back an error in response to unhandled IQs, this assumption is no longer true: there are error replies sitting around waiting to be handled. So this patch just makes this test turn both porters on and then use test_close_both_porters().
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions