@Test
    @Ignore // FIXME test has been implicitly disabled for ages, figure out and fix
    public void testPersistentFailureTwoNodesFailingOneMarkedDown() {
            // We see that we don't send to down nodes in second half. We still fail requests towards the one not marked down,
            // and occasionally send to random due to this
        runSimulation("First correctnode .*, wrongnode 23, downnode .*, worked .*, failed .* "
                    + "Last correctnode .*, wrongnode 4, downnode 0, worked 219, failed 31",
                      new PersistentFailureTestParameters().addBadNode(new BadNode(3, FailureType.TRANSIENT_ERROR))
                                                           .addBadNode(new BadNode(4, FailureType.TRANSIENT_ERROR).setDownInCurrentState())
                                                           .setTotalRequests(500));
            // Note that we use extra requests here as with only 200 requests there was a pretty good chance of not going to any down node on random anyhow.
    }
With two failures, one marked down, hopefully the one not marked down doesn't lead us to use the one marked down.
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/test/storagepolicy/ContentPolicyTest.java