public Optional<Duration> getActionExpiryTimeout(SamzaResourceRequest resourceRequest) {
    for (ContainerPlacementMetadata actionMetadata : actions.values()) {
      if (actionMetadata.containsResourceRequest(resourceRequest)
          && actionMetadata.getActionStatus() == ContainerPlacementMessage.StatusCode.IN_PROGRESS) {
        return actionMetadata.getRequestActionExpiryTimeout();
      }
    }
    return Optional.empty();
  }
This method is only used for Testing the Container Placement actions to get a hold of {@link ContainerPlacementMetadata}
for assertions. Not intended to be used in src
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerManager.java