Compose: a fault of finding the store other than its listen refusal still refuses the node, tested (A-461b)
Builds: design 47 G A-461b
This commit is contained in:
@@ -368,6 +368,14 @@ func TestTheStoreIsFoundByTheImageSeatsHolderAndItsListen(t *testing.T) {
|
||||
if why, held := got.Rendering.NotPlaced["plain"]; held {
|
||||
t.Errorf("a module that fetches nothing from the store waits: %q", why)
|
||||
}
|
||||
// A-461b: only the listen refusal holds the store's fetchers; any other fault of finding the store (here the holder's machine is
|
||||
// on the network as first read but unknown when its assignment is read) still refuses the node.
|
||||
broken := newComposer(in)
|
||||
broken.onTheNetwork()
|
||||
broken.in.Nodes = []Node{*nodeOf(t, &in, "laptop")}
|
||||
if _, err := broken.places("laptop", Resolved{}); err == nil || !strings.Contains(err.Error(), "reading what anchor is assigned") {
|
||||
t.Errorf("a fault of finding the store other than its listen refusal did not refuse the node: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
// A zone a module declares is placed where the mesh put it: settled from that node's settings, at the node's private address, on
|
||||
|
||||
Reference in New Issue
Block a user