module-eval: hosting the swarm's shared services leaves the review classifier off
Pins that deploy.review-classifier.enable is not derived from allSwarmServices: the same fixture turns the queue on and leaves the classifier and its container absent.
This commit is contained in:
parent
6c9cb66dce
commit
c0fd4e9848
1 changed files with 10 additions and 0 deletions
|
|
@ -177,6 +177,16 @@ let
|
|||
in
|
||||
lib.length (lib.attrNames es) == 9 && lib.all lib.id (lib.attrValues es);
|
||||
}
|
||||
{
|
||||
# Every run spends money on an operator's key, so hosting the shared
|
||||
# services does not start the classifier. The queue is the control:
|
||||
# the same fixture does turn the switch's own services on.
|
||||
name = "hosting the swarm's shared services leaves the review classifier off";
|
||||
ok =
|
||||
!swarmServicesHere.services.hyperhive.deploy.review-classifier.enable
|
||||
&& !(swarmServicesHere.containers ? swarm-review-classifier)
|
||||
&& swarmServicesHere.services.hyperhive.deploy.nats.enable;
|
||||
}
|
||||
{
|
||||
# The switch fills in for an operator who has not spoken and yields to
|
||||
# one who has — that is what keeps a shared service placeable on a host
|
||||
|
|
|
|||
Loading…
Reference in a new issue