mirror of https://github.com/apache/nifi.git
NIFI-11976 Removed error log check in TestListenTCPRecord
Signed-off-by: Matt Burgess <mattyb149@apache.org> This closes #7635
This commit is contained in:
parent
25d775b965
commit
016834efaa
|
@ -26,7 +26,6 @@ import org.apache.nifi.serialization.RecordSetWriterFactory;
|
|||
import org.apache.nifi.serialization.record.MockRecordWriter;
|
||||
import org.apache.nifi.ssl.RestrictedSSLContextService;
|
||||
import org.apache.nifi.ssl.SSLContextService;
|
||||
import org.apache.nifi.util.LogMessage;
|
||||
import org.apache.nifi.util.MockFlowFile;
|
||||
import org.apache.nifi.util.TestRunner;
|
||||
import org.apache.nifi.util.TestRunners;
|
||||
|
@ -45,11 +44,9 @@ import java.io.OutputStream;
|
|||
import java.net.Socket;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
public class TestListenTCPRecord {
|
||||
|
@ -236,9 +233,6 @@ public class TestListenTCPRecord {
|
|||
while (getSuccessCount() < expectedTransferred) {
|
||||
runner.run(1, false, false);
|
||||
iterations++;
|
||||
|
||||
final Optional<LogMessage> firstErrorMessage = runner.getLogger().getErrorMessages().stream().findFirst();
|
||||
assertNull(firstErrorMessage.orElse(null));
|
||||
}
|
||||
LOGGER.info("Completed after iterations [{}]", iterations);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue