MCPcopy Create free account
hub / github.com/apache/qpid-proton-j / test_cleanup

Method test_cleanup

tests/python/proton_tests/engine.py:731–742  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

729 assert self.rcv.remote_snd_settle_mode == Link.SND_UNSETTLED
730
731 def test_cleanup(self):
732 snd, rcv = self.link("test-link")
733 snd.open()
734 rcv.open()
735 self.pump()
736 assert rcv.state == Endpoint.LOCAL_ACTIVE | Endpoint.REMOTE_ACTIVE
737 snd.close()
738 snd.free()
739 del snd
740 gc.collect()
741 self.pump()
742 assert rcv.state == Endpoint.LOCAL_ACTIVE | Endpoint.REMOTE_CLOSED
743
744class TerminusConfig:
745

Callers

nothing calls this directly

Calls 6

openMethod · 0.65
closeMethod · 0.65
freeMethod · 0.65
collectMethod · 0.65
linkMethod · 0.45
pumpMethod · 0.45

Tested by

no test coverage detected