@Test
public void testFullOwnerSetNotMaxAttempt() throws IllegalAccessException {

    Map<VersionedKey, Map<UUID, VersionedValue>> data = new HashMap<>();
    VersionedKey key = new VersionedKey(null, new KeyCacheObjectImpl(), null);
    Map<UUID, VersionedValue> keyVers = new HashMap<>();
    keyVers.put(NODE_1, versionedValue("1", 1));
    keyVers.put(NODE_2, versionedValue("2", 2));
    data.put(key, keyVers);
    IgniteEx igniteMock = igniteMock(fixed);
    ExecutionResult<RepairResult> res = injectIgnite(repairJob(data, 2, 1), igniteMock).execute();
    if (fixed) {
        assertTrue(res.result().keysToRepair().isEmpty());
        assertEquals(1, res.result().repairedKeys().size());
        Map.Entry<VersionedKey, RepairMeta> entry = res.result()
            .repairedKeys().entrySet().iterator().next();
        assertEquals(keyVers, entry.getValue().getPreviousValue());
        RepairMeta repairMeta = entry.getValue();
        assertTrue(repairMeta.fixed());
        assertEquals(LATEST, repairMeta.repairAlg());
    }
    else {
        assertTrue(res.result().repairedKeys().isEmpty());
        assertEquals(1, res.result().keysToRepair().size());
        Map.Entry<VersionedKey, Map<UUID, VersionedValue>> entry = res.result()
            .keysToRepair().entrySet().iterator().next();
        assertEquals(keyVers, entry.getValue());
    }
}