public long getFailedSyncCount() {
        final AtomicLong result = new AtomicLong();
        distroRecords.forEach((s, distroRecord) -> result.addAndGet(distroRecord.getFailedSyncCount()));
        return result.get();
    }
@Test
    void testGetFailedSyncCount() {
        DistroRecordsHolder.getInstance().getRecord("testGetFailedSyncCount");
        Optional<DistroRecord> actual = DistroRecordsHolder.getInstance().getRecordIfExist("testGetFailedSyncCount");
        assertTrue(actual.isPresent());
        assertEquals(0, DistroRecordsHolder.getInstance().getFailedSyncCount());
        actual.get().syncFail();
        assertEquals(1, DistroRecordsHolder.getInstance().getFailedSyncCount());
        
    }