Remove System.out.println from tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user