Remove System.out.println from tests

This commit is contained in:
Mahmoud Ben Hassine
2023-06-07 15:14:27 +02:00
parent 12b412f60a
commit 98c426ca4f
15 changed files with 17 additions and 41 deletions

View File

@@ -242,7 +242,6 @@ class RemoteChunkingManagerStepBuilderTests {
when(retryListener.open(any(), any())).thenReturn(true);
ItemProcessor<String, String> itemProcessor = item -> {
System.out.println("processing item " + item);
if (item.equals("b")) {
throw new Exception("b was found");
}
@@ -260,7 +259,6 @@ class RemoteChunkingManagerStepBuilderTests {
@Nullable
@Override
public String read() throws Exception {
System.out.println(">> count == " + count);
if (count == 6) {
count++;
throw new IOException("6th item");
@@ -271,7 +269,6 @@ class RemoteChunkingManagerStepBuilderTests {
}
else if (count < items.size()) {
String item = items.get(count++);
System.out.println(">> item read was " + item);
return item;
}
else {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008-2022 the original author or authors.
* Copyright 2008-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -106,7 +106,6 @@ class TransactionalPollingIntegrationTests implements ApplicationContextAware {
assertEquals(expected, processed);
}
catch (Throwable t) {
System.out.println(t.getMessage());
t.printStackTrace();
}
}