in src/main/java/org/apache/sling/testing/clients/SystemPropertiesConfig.java [134:147]
public static Collection<Integer> getHttpRetriesErrorCodes() {
try {
final String errorCodes = System.getProperty(getPrefixedPropertyName(HTTP_RETRIES_ERROR_CODES_PROP), "");
return Arrays.asList(errorCodes.split(",")).stream().map(s -> {
try {
return Integer.valueOf(s);
} catch (NumberFormatException e) {
return null;
}
}).filter(Objects::nonNull).collect(Collectors.toList());
} catch (Exception e) {
return Collections.emptyList();
}
}