The reviewer confirmed the two fixes of the entry before, and both of the guards that entry could only catch in pairs: each fails a probe of the reviewer's own that holds a request in the interval the suite cannot. Two more cases of a stop arriving in the middle of something followed, and both are the same mistake: state looked at twice, with the stop between the looks. Fixed here. The counts are of the gateway's, the follower's, the lifecycle and the session tests, 88 of them, run against each removal alone.
The router found its run live, and then the handle a request named was looked up in the gateway's state as it
was by then. A stop empties the routes and the retirements. A tasks/get under a retired handle, refused
before the stop and after it, was in between left to this JVM, whose registry can still hold a task under the
handle, possibly the other conversation's.
The state is now read once: the run is found live in it, and the same reading says where the request's handles go. Nothing is held while the request is served. The test takes that reading with a handle retired, stops the gateway, and asks where a task under the handle goes, by the reading and by a fresh one; the fresh one says here, which is the finding. A handle looked up in the state as it is by then: 1 failure.
An attach wrote its welcome and then told whoever was waiting for a node of its name, without asking whether it was still that node. Held between the two across a restart, it took a wait made on the second run and settled it with nothing, there being no such node; the caller then missed the node it was waiting for.
The waits are now collected, with the roster line they are settled with, under the lock a node is forgotten under, and only when the attach is still its name's node. They are settled after the lock is let go. The test holds a real attach after its welcome, restarts the gateway, waits for the name, and lets the attach go: the wait is still on, and is ended by the node that attaches to the second run. Settled whoever waits: 2 failing assertions.
Nothing further was found there. That is a reading, not a probe.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |