public void assertExactlyNumErrorsOnConnectorConfigValidation(String connectorClass, Map<String, String> connConfig,
                                                                  int numErrors, String detailMessage) throws InterruptedException {
        assertExactlyNumErrorsOnConnectorConfigValidation(connectorClass, connConfig, numErrors, detailMessage, VALIDATION_DURATION_MS);
    }
Assert that the required number of errors are produced by a connector config validation.

@param connectorClass the class of the connector to validate
@param connConfig     the intended configuration
@param numErrors      the number of errors expected
@param detailMessage  the assertion message
connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/ConnectAssertions.java