diff --git a/tika-e2e-tests/pom.xml b/tika-e2e-tests/pom.xml index 06c3e5cb7f..5f60869446 100644 --- a/tika-e2e-tests/pom.xml +++ b/tika-e2e-tests/pom.xml @@ -103,14 +103,6 @@ jackson-databind ${jackson.version} - - - - org.projectlombok - lombok - ${lombok.version} - true - @@ -123,15 +115,6 @@ 3.15.0 17 - - - - org.projectlombok - lombok - ${lombok.version} - - diff --git a/tika-e2e-tests/tika-grpc/pom.xml b/tika-e2e-tests/tika-grpc/pom.xml index 4dd87ed12c..e4c91463e4 100644 --- a/tika-e2e-tests/tika-grpc/pom.xml +++ b/tika-e2e-tests/tika-grpc/pom.xml @@ -70,13 +70,6 @@ jackson-databind - - - org.projectlombok - lombok - true - - org.junit.jupiter diff --git a/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/ExternalTestBase.java b/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/ExternalTestBase.java index d0d135309d..edcfd9a445 100644 --- a/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/ExternalTestBase.java +++ b/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/ExternalTestBase.java @@ -43,12 +43,13 @@ import com.fasterxml.jackson.databind.ObjectMapper; import io.grpc.ManagedChannel; import io.grpc.ManagedChannelBuilder; -import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.TestInstance; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.testcontainers.containers.DockerComposeContainer; import org.testcontainers.containers.output.Slf4jLogConsumer; import org.testcontainers.containers.wait.strategy.Wait; @@ -60,9 +61,9 @@ @TestInstance(TestInstance.Lifecycle.PER_CLASS) @Testcontainers -@Slf4j @Tag("E2ETest") public abstract class ExternalTestBase { + private static final Logger LOG = LoggerFactory.getLogger(ExternalTestBase.class); public static final ObjectMapper OBJECT_MAPPER = new ObjectMapper(); public static final int MAX_STARTUP_TIMEOUT = 120; public static final String GOV_DOCS_FOLDER = "/tika/govdocs1"; @@ -88,7 +89,7 @@ static void setup() throws Exception { } private static void startLocalGrpcServer() throws Exception { - log.info("Starting local tika-grpc server using Maven exec"); + LOG.info("Starting local tika-grpc server using Maven exec"); Path tikaGrpcDir = findTikaGrpcDirectory(); Path configFile = Path.of("src/test/resources/tika-config.json").toAbsolutePath(); @@ -97,8 +98,8 @@ private static void startLocalGrpcServer() throws Exception { throw new IllegalStateException("Config file not found: " + configFile); } - log.info("Using tika-grpc from: {}", tikaGrpcDir); - log.info("Using config file: {}", configFile); + LOG.info("Using tika-grpc from: {}", tikaGrpcDir); + LOG.info("Using config file: {}", configFile); String javaHome = System.getProperty("java.home"); boolean isWindows = System.getProperty("os.name").toLowerCase(Locale.ROOT).contains("win"); @@ -131,10 +132,10 @@ private static void startLocalGrpcServer() throws Exception { new InputStreamReader(localGrpcProcess.getInputStream(), StandardCharsets.UTF_8))) { String line; while ((line = reader.readLine()) != null) { - log.info("tika-grpc: {}", line); + LOG.info("tika-grpc: {}", line); } } catch (IOException e) { - log.error("Error reading server output", e); + LOG.error("Error reading server output", e); } }); logThread.setDaemon(true); @@ -142,7 +143,7 @@ private static void startLocalGrpcServer() throws Exception { waitForServerReady(); - log.info("Local tika-grpc server started successfully on port {}", GRPC_PORT); + LOG.info("Local tika-grpc server started successfully on port {}", GRPC_PORT); } private static Path findTikaGrpcDirectory() { @@ -173,10 +174,10 @@ private static void waitForServerReady() throws Exception { try { TikaGrpc.TikaBlockingStub stub = TikaGrpc.newBlockingStub(testChannel); stub.listFetchers(ListFetchersRequest.newBuilder().build()); - log.info("gRPC server is ready"); + LOG.info("gRPC server is ready"); return; } catch (Exception e) { - log.trace("gRPC server not ready yet (attempt {}/{}): {}", i + 1, maxAttempts, e.getMessage()); + LOG.trace("gRPC server not ready yet (attempt {}/{}): {}", i + 1, maxAttempts, e.getMessage()); } finally { testChannel.shutdown(); testChannel.awaitTermination(1, TimeUnit.SECONDS); @@ -191,7 +192,7 @@ private static void waitForServerReady() throws Exception { } private static void startDockerGrpcServer() { - log.info("Starting Docker Compose tika-grpc server"); + LOG.info("Starting Docker Compose tika-grpc server"); String composeFilePath = System.getProperty("tika.docker.compose.file"); if (composeFilePath == null || composeFilePath.isBlank()) { @@ -208,11 +209,11 @@ private static void startDockerGrpcServer() { .withStartupTimeout(Duration.of(MAX_STARTUP_TIMEOUT, ChronoUnit.SECONDS)) .withExposedService("tika-grpc", 50052, Wait.forLogMessage(".*Server started.*\\n", 1)) - .withLogConsumer("tika-grpc", new Slf4jLogConsumer(log)); + .withLogConsumer("tika-grpc", new Slf4jLogConsumer(LOG)); composeContainer.start(); - log.info("Docker Compose containers started successfully"); + LOG.info("Docker Compose containers started successfully"); } private static void loadGovdocs1() throws IOException, InterruptedException { @@ -230,7 +231,7 @@ private static void loadGovdocs1() throws IOException, InterruptedException { if (attempt >= retries) { throw e; } - log.warn("Download attempt {} failed, retrying in 10 seconds...", attempt, e); + LOG.warn("Download attempt {} failed, retrying in 10 seconds...", attempt, e); TimeUnit.SECONDS.sleep(10); } } @@ -253,13 +254,13 @@ public static void copyTestFixtures() throws IOException { Files.copy(in, targetDir.resolve(fixture), StandardCopyOption.REPLACE_EXISTING); } } - log.info("Copied {} test fixtures to {}", fixtures.length, targetDir); + LOG.info("Copied {} test fixtures to {}", fixtures.length, targetDir); } @AfterAll void close() { if (USE_LOCAL_SERVER && localGrpcProcess != null) { - log.info("Stopping local gRPC server"); + LOG.info("Stopping local gRPC server"); localGrpcProcess.destroy(); try { if (!localGrpcProcess.waitFor(10, TimeUnit.SECONDS)) { @@ -284,14 +285,14 @@ public static void downloadAndUnzipGovdocs1(int fromIndex, int toIndex) throws I Path zipPath = targetDir.resolve(zipName); if (Files.exists(zipPath)) { - log.info("{} already exists, skipping download", zipName); + LOG.info("{} already exists, skipping download", zipName); } else { - log.info("Downloading {} from {}...", zipName, url); + LOG.info("Downloading {} from {}...", zipName, url); try (InputStream in = new URL(url).openStream()) { Files.copy(in, zipPath, StandardCopyOption.REPLACE_EXISTING); } } - log.info("Unzipping {}...", zipName); + LOG.info("Unzipping {}...", zipName); try (ZipInputStream zis = new ZipInputStream(new FileInputStream(zipPath.toFile()))) { ZipEntry entry; while ((entry = zis.getNextEntry()) != null) { @@ -309,7 +310,7 @@ public static void downloadAndUnzipGovdocs1(int fromIndex, int toIndex) throws I } } - log.info("Finished downloading and extracting govdocs1 files"); + LOG.info("Finished downloading and extracting govdocs1 files"); } public static void assertAllFilesFetched(Path baseDir, List successes, @@ -337,7 +338,7 @@ public static void assertAllFilesFetched(Path baseDir, List } Assertions.assertNotEquals(0, successes.size(), "Should have some successful fetches"); - log.info("Processed {} files: {} successes, {} errors", allFetchKeys.size(), successes.size(), errors.size()); + LOG.info("Processed {} files: {} successes, {} errors", allFetchKeys.size(), successes.size(), errors.size()); Assertions.assertEquals(keysFromGovdocs1, allFetchKeys, () -> { Set missing = new HashSet<>(keysFromGovdocs1); missing.removeAll(allFetchKeys); diff --git a/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/filesystem/FileSystemFetcherTest.java b/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/filesystem/FileSystemFetcherTest.java index 92bfc72575..065aa7890a 100644 --- a/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/filesystem/FileSystemFetcherTest.java +++ b/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/filesystem/FileSystemFetcherTest.java @@ -27,11 +27,12 @@ import io.grpc.ManagedChannel; import io.grpc.stub.StreamObserver; -import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.DisabledOnOs; import org.junit.jupiter.api.condition.OS; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.apache.tika.FetchAndParseReply; import org.apache.tika.FetchAndParseRequest; @@ -41,9 +42,10 @@ import org.apache.tika.pipes.ExternalTestBase; import org.apache.tika.pipes.fetcher.fs.FileSystemFetcherConfig; -@Slf4j @DisabledOnOs(value = OS.WINDOWS, disabledReason = "exec:exec classpath exceeds Windows CreateProcess command-line length limit") class FileSystemFetcherTest extends ExternalTestBase { + private static final Logger LOG = LoggerFactory.getLogger(FileSystemFetcherTest.class); + @Test void testFileSystemFetcher() throws Exception { @@ -59,7 +61,7 @@ void testFileSystemFetcher() throws Exception { config.setBasePath(basePath); String configJson = OBJECT_MAPPER.writeValueAsString(config); - log.info("Creating fetcher with config (basePath={}): {}", basePath, configJson); + LOG.info("Creating fetcher with config (basePath={}): {}", basePath, configJson); SaveFetcherReply saveReply = blockingStub.saveFetcher(SaveFetcherRequest .newBuilder() @@ -68,7 +70,7 @@ void testFileSystemFetcher() throws Exception { .setFetcherConfigJson(configJson) .build()); - log.info("Fetcher created: {}", saveReply.getFetcherId()); + LOG.info("Fetcher created: {}", saveReply.getFetcherId()); List successes = Collections.synchronizedList(new ArrayList<>()); List errors = Collections.synchronizedList(new ArrayList<>()); @@ -78,7 +80,7 @@ void testFileSystemFetcher() throws Exception { requestStreamObserver = tikaStub.fetchAndParseBiDirectionalStreaming(new StreamObserver<>() { @Override public void onNext(FetchAndParseReply fetchAndParseReply) { - log.debug("Reply from fetch-and-parse - key={}, status={}", + LOG.debug("Reply from fetch-and-parse - key={}, status={}", fetchAndParseReply.getFetchKey(), fetchAndParseReply.getStatus()); if ("FETCH_AND_PARSE_EXCEPTION".equals(fetchAndParseReply.getStatus())) { errors.add(fetchAndParseReply); @@ -89,14 +91,14 @@ public void onNext(FetchAndParseReply fetchAndParseReply) { @Override public void onError(Throwable throwable) { - log.error("Received an error", throwable); + LOG.error("Received an error", throwable); Assertions.fail(throwable); countDownLatch.countDown(); } @Override public void onCompleted() { - log.info("Finished streaming fetch and parse replies"); + LOG.info("Finished streaming fetch and parse replies"); countDownLatch.countDown(); } }); @@ -122,13 +124,13 @@ public void onCompleted() { } }); } - log.info("Done submitting files to fetcher {}", fetcherId); + LOG.info("Done submitting files to fetcher {}", fetcherId); requestStreamObserver.onCompleted(); try { if (!countDownLatch.await(3, TimeUnit.MINUTES)) { - log.error("Timed out waiting for parse to complete"); + LOG.error("Timed out waiting for parse to complete"); Assertions.fail("Timed out waiting for parsing to complete"); } } catch (InterruptedException e) { @@ -140,14 +142,14 @@ public void onCompleted() { assertAllFilesFetched(TEST_FOLDER.toPath(), successes, errors); } else { int totalProcessed = successes.size() + errors.size(); - log.info("Processed {} documents (limit was {})", totalProcessed, maxDocs); + LOG.info("Processed {} documents (limit was {})", totalProcessed, maxDocs); Assertions.assertTrue(totalProcessed <= maxDocs, "Should not process more than " + maxDocs + " documents"); Assertions.assertTrue(totalProcessed > 0, "Should have processed at least one document"); } - log.info("Test completed successfully - {} successes, {} errors", + LOG.info("Test completed successfully - {} successes, {} errors", successes.size(), errors.size()); } finally { channel.shutdown(); diff --git a/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/filesystem/HandlerTypeTest.java b/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/filesystem/HandlerTypeTest.java index f8e4799331..9cf6697389 100644 --- a/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/filesystem/HandlerTypeTest.java +++ b/tika-e2e-tests/tika-grpc/src/test/java/org/apache/tika/pipes/filesystem/HandlerTypeTest.java @@ -28,7 +28,6 @@ import io.grpc.ManagedChannel; import io.grpc.ManagedChannelBuilder; -import lombok.extern.slf4j.Slf4j; import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; @@ -38,6 +37,8 @@ import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.condition.DisabledOnOs; import org.junit.jupiter.api.condition.OS; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.apache.tika.FetchAndParseReply; import org.apache.tika.FetchAndParseRequest; @@ -58,11 +59,11 @@ * Example: {"basic-content-handler-factory": {"type": "HTML"}} */ @TestInstance(TestInstance.Lifecycle.PER_CLASS) -@Slf4j @Tag("E2ETest") @DisabledOnOs(value = OS.WINDOWS, disabledReason = "exec:exec classpath exceeds Windows CreateProcess command-line length limit") class HandlerTypeTest { + private static final Logger LOG = LoggerFactory.getLogger(HandlerTypeTest.class); private static final File TEST_FOLDER = ExternalTestBase.TEST_FOLDER; private static final int GRPC_PORT = Integer.parseInt(System.getProperty("tika.e2e.grpcPort", "50052")); @@ -75,7 +76,7 @@ void setup() throws Exception { killProcessOnPort(3344); killProcessOnPort(10800); } catch (Exception e) { - log.debug("No orphaned processes to clean up: {}", e.getMessage()); + LOG.debug("No orphaned processes to clean up: {}", e.getMessage()); } ExternalTestBase.copyTestFixtures(); @@ -85,7 +86,7 @@ void setup() throws Exception { @AfterAll void teardown() { if (localGrpcProcess != null) { - log.info("Stopping local gRPC server and child processes"); + LOG.info("Stopping local gRPC server and child processes"); localGrpcProcess.destroy(); try { if (!localGrpcProcess.waitFor(10, TimeUnit.SECONDS)) { @@ -97,14 +98,14 @@ void teardown() { killProcessOnPort(3344); killProcessOnPort(10800); } catch (Exception e) { - log.debug("Error during teardown: {}", e.getMessage()); + LOG.debug("Error during teardown: {}", e.getMessage()); } - log.info("Local gRPC server stopped"); + LOG.info("Local gRPC server stopped"); } } private static void startLocalGrpcServer() throws Exception { - log.info("Starting local tika-grpc server with Ignite config for HandlerType test"); + LOG.info("Starting local tika-grpc server with Ignite config for HandlerType test"); Path currentDir = Path.of("").toAbsolutePath(); Path tikaRootDir = currentDir; @@ -123,8 +124,8 @@ private static void startLocalGrpcServer() throws Exception { throw new IllegalStateException("Config file not found: " + configFile); } - log.info("tika-grpc dir: {}", tikaGrpcDir); - log.info("Config file: {}", configFile); + LOG.info("tika-grpc dir: {}", tikaGrpcDir); + LOG.info("Config file: {}", configFile); String javaHome = System.getProperty("java.home"); boolean isWindows = System.getProperty("os.name").toLowerCase(Locale.ROOT).contains("win"); @@ -172,7 +173,7 @@ private static void startLocalGrpcServer() throws Exception { new InputStreamReader(localGrpcProcess.getInputStream(), StandardCharsets.UTF_8))) { String line; while ((line = reader.readLine()) != null) { - log.info("tika-grpc: {}", line); + LOG.info("tika-grpc: {}", line); if (line.contains("Ignite server started") || (line.contains("Table") && line.contains("created successfully")) || line.contains("Server started, listening on")) { @@ -183,7 +184,7 @@ private static void startLocalGrpcServer() throws Exception { } } } catch (IOException e) { - log.error("Error reading server output", e); + LOG.error("Error reading server output", e); } }); logThread.setDaemon(true); @@ -230,7 +231,7 @@ private static void startLocalGrpcServer() throws Exception { throw new RuntimeException("tika-grpc server with Ignite failed to start within timeout", e); } - log.info("HandlerType test server ready on port {}", GRPC_PORT); + LOG.info("HandlerType test server ready on port {}", GRPC_PORT); } private ManagedChannel getManagedChannel() { @@ -258,10 +259,10 @@ private static void killProcessOnPort(int port) throws IOException, InterruptedE .flatMap(h -> h.info().commandLine()) .orElse(""); if (!cmdLine.contains("tika") && !cmdLine.contains("TikaGrpc") && !cmdLine.contains("ignite")) { - log.debug("Skipping kill of PID {} on port {} — not a tika/ignite process", pid, port); + LOG.debug("Skipping kill of PID {} on port {} — not a tika/ignite process", pid, port); return; } - log.info("Killing tika/ignite process {} on port {}", pid, port); + LOG.info("Killing tika/ignite process {} on port {}", pid, port); new ProcessBuilder("kill", String.valueOf(pid)).start().waitFor(2, TimeUnit.SECONDS); Thread.sleep(1000); new ProcessBuilder("kill", "-9", String.valueOf(pid)).start().waitFor(2, TimeUnit.SECONDS); @@ -280,7 +281,7 @@ private static boolean isParentProcess(long pid) { } } } catch (Exception e) { - log.debug("Error checking parent process", e); + LOG.debug("Error checking parent process", e); } return false; } @@ -300,7 +301,7 @@ void testParseContextJson() throws Exception { .setFetcherType("file-system-fetcher") .setFetcherConfigJson(ExternalTestBase.OBJECT_MAPPER.writeValueAsString(config)) .build()); - log.info("Fetcher created: {}", saveReply.getFetcherId()); + LOG.info("Fetcher created: {}", saveReply.getFetcherId()); // Parse sample.html requesting HTML output FetchAndParseReply htmlReply = blockingStub.fetchAndParse(FetchAndParseRequest.newBuilder() @@ -309,13 +310,13 @@ void testParseContextJson() throws Exception { .setParseContextJson("{\"basic-content-handler-factory\": {\"type\": \"HTML\"}}") .build()); - log.info("HTML parse status: {}", htmlReply.getStatus()); + LOG.info("HTML parse status: {}", htmlReply.getStatus()); Assertions.assertEquals("PARSE_SUCCESS", htmlReply.getStatus(), "Parse should succeed with HTML handler type"); String htmlContent = htmlReply.getFieldsMap().get("X-TIKA:content"); Assertions.assertNotNull(htmlContent, "Content should be present in HTML response"); - log.info("HTML content (first 200 chars): {}", htmlContent.substring(0, Math.min(200, htmlContent.length()))); + LOG.info("HTML content (first 200 chars): {}", htmlContent.substring(0, Math.min(200, htmlContent.length()))); Assertions.assertTrue( htmlContent.contains(" h.info().commandLine()) .orElse(""); if (!cmdLine.contains("tika") && !cmdLine.contains("TikaGrpc") && !cmdLine.contains("ignite")) { - log.debug("Skipping kill of PID {} on port {} — not a tika/ignite process: {}", pid, port, cmdLine); + LOG.debug("Skipping kill of PID {} on port {} — not a tika/ignite process: {}", pid, port, cmdLine); return; } - log.info("Found tika/ignite process {} on port {}, killing it", pid, port); + LOG.info("Found tika/ignite process {} on port {}, killing it", pid, port); ProcessBuilder killPb = new ProcessBuilder("kill", String.valueOf(pid)); Process killProcess = killPb.start(); @@ -385,7 +386,7 @@ private static boolean isParentProcess(long pid) { } } } catch (Exception e) { - log.debug("Error checking parent process", e); + LOG.debug("Error checking parent process", e); } return false; } @@ -404,7 +405,7 @@ void testIgniteConfigStore() throws Exception { config.setBasePath(basePath); String configJson = ExternalTestBase.OBJECT_MAPPER.writeValueAsString(config); - log.info("Creating fetcher with Ignite ConfigStore (basePath={}): {}", basePath, configJson); + LOG.info("Creating fetcher with Ignite ConfigStore (basePath={}): {}", basePath, configJson); SaveFetcherReply saveReply = blockingStub.saveFetcher(SaveFetcherRequest .newBuilder() @@ -413,7 +414,7 @@ void testIgniteConfigStore() throws Exception { .setFetcherConfigJson(configJson) .build()); - log.info("Fetcher saved to Ignite: {}", saveReply.getFetcherId()); + LOG.info("Fetcher saved to Ignite: {}", saveReply.getFetcherId()); List successes = Collections.synchronizedList(new ArrayList<>()); List errors = Collections.synchronizedList(new ArrayList<>()); @@ -423,7 +424,7 @@ void testIgniteConfigStore() throws Exception { requestStreamObserver = tikaStub.fetchAndParseBiDirectionalStreaming(new StreamObserver<>() { @Override public void onNext(FetchAndParseReply fetchAndParseReply) { - log.debug("Reply from fetch-and-parse - key={}, status={}", + LOG.debug("Reply from fetch-and-parse - key={}, status={}", fetchAndParseReply.getFetchKey(), fetchAndParseReply.getStatus()); if ("FETCH_AND_PARSE_EXCEPTION".equals(fetchAndParseReply.getStatus())) { errors.add(fetchAndParseReply); @@ -434,20 +435,20 @@ public void onNext(FetchAndParseReply fetchAndParseReply) { @Override public void onError(Throwable throwable) { - log.error("Received an error", throwable); + LOG.error("Received an error", throwable); Assertions.fail(throwable); countDownLatch.countDown(); } @Override public void onCompleted() { - log.info("Finished streaming fetch and parse replies"); + LOG.info("Finished streaming fetch and parse replies"); countDownLatch.countDown(); } }); int maxDocs = Integer.parseInt(System.getProperty("corpus.numDocs", "-1")); - log.info("Document limit: {}", maxDocs == -1 ? "unlimited" : maxDocs); + LOG.info("Document limit: {}", maxDocs == -1 ? "unlimited" : maxDocs); try (Stream paths = Files.walk(TEST_FOLDER.toPath())) { Stream fileStream = paths @@ -473,13 +474,13 @@ public void onCompleted() { } }); } - log.info("Done submitting files to Ignite-backed fetcher {}", fetcherId); + LOG.info("Done submitting files to Ignite-backed fetcher {}", fetcherId); requestStreamObserver.onCompleted(); try { if (!countDownLatch.await(3, TimeUnit.MINUTES)) { - log.error("Timed out waiting for parse to complete"); + LOG.error("Timed out waiting for parse to complete"); Assertions.fail("Timed out waiting for parsing to complete"); } } catch (InterruptedException e) { @@ -491,7 +492,7 @@ public void onCompleted() { ExternalTestBase.assertAllFilesFetched(TEST_FOLDER.toPath(), successes, errors); } else { int totalProcessed = successes.size() + errors.size(); - log.info("Processed {} documents with Ignite ConfigStore (limit was {})", + LOG.info("Processed {} documents with Ignite ConfigStore (limit was {})", totalProcessed, maxDocs); Assertions.assertTrue(totalProcessed <= maxDocs, "Should not process more than " + maxDocs + " documents"); @@ -499,7 +500,7 @@ public void onCompleted() { "Should have processed at least one document"); } - log.info("Ignite ConfigStore test completed successfully - {} successes, {} errors", + LOG.info("Ignite ConfigStore test completed successfully - {} successes, {} errors", successes.size(), errors.size()); } finally { channel.shutdown(); diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml index 20037da557..248057a48f 100644 --- a/tika-parent/pom.xml +++ b/tika-parent/pom.xml @@ -397,7 +397,6 @@ 2.4.0 0.9.3 2.26.1 - 1.18.46 9.12.3 3.15.2