@Test
  public void testCleanupBlobGoodCase1() throws Exception {
    Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
    calendar.add(Calendar.DATE, -config.staleDataRetentionDays);
    long afterStaleCutoffTime = calendar.getTimeInMillis() + 5000;

    Account account = accountService.getAllAccounts().iterator().next();
    Container container = account.getAllContainers().iterator().next();
    String blobId = getBlobId(account, container);
    String blobName = "good/" + "case1" + "/more path segments--";
    NamedBlobRecord record =
        new NamedBlobRecord(account.getName(), container.getName(), blobName, blobId, Utils.Infinite_Time);

    time.setCurrentMilliseconds(afterStaleCutoffTime + 5000);
    namedBlobDb.put(record, NamedBlobState.IN_PROGRESS, true).get();
    List<StaleNamedBlob> staleNamedBlobs = namedBlobDb.pullStaleBlobs().get();
    assertTrue("Good blob case 1 pull stale blob result should be empty!", staleNamedBlobs.isEmpty());
  }
Test behavior with blob cleanup for good blob case
Case 1, created less than staleDataRetentionDays ago, InProgress, is Largest (Don't care about ttl and delete)
ambry-named-mysql/src/integration-test/java/com/github/ambry/named/MySqlNamedBlobDbIntegrationTest.java