isTestFlaky method

bool isTestFlaky(
  1. int testInfoId
)
inherited

Implementation

bool isTestFlaky(int testInfoId) =>
    // If see multiple TEST_START, then this test is flaky
    logSubEntryInTest(testInfoId)
        .where((logSubEntryId) => logSubEntryMap[logSubEntryId]?.type == LogSubEntryType.TEST_START)
        .length >
    1;