Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kkondaka committed Nov 16, 2024
1 parent 080ca26 commit 2360de2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public void reset() {
public CompletableFuture<InvokeResponse> flushToLambda(String invocationType) {
SdkBytes payload = getPayload();
payloadRequestSize = payload.asByteArray().length;
System.out.println("=====Payload====="+payload.asUtf8String());

// Setup an InvokeRequest.
InvokeRequest request = InvokeRequest.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public class ThresholdCheck {

public static boolean checkThresholdExceed(final Buffer currentBuffer, final int maxEvents, final ByteCount maxBytes, final Duration maxCollectionDuration) {

System.out.println("________"+currentBuffer.getEventCount()+"_______SZ___"+currentBuffer.getSize()+"___MAXE__"+maxEvents);
if (maxEvents > 0) {
return currentBuffer.getEventCount() + 1 > maxEvents ||
currentBuffer.getDuration().compareTo(maxCollectionDuration) > 0 ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ private void setPrivateField(Object targetObject, String fieldName, Object value
field.set(targetObject, value);
}

/*
@Test
public void testDoExecute_WithExceptionDuringProcessing() throws Exception {
// Arrange
Expand All @@ -238,6 +239,7 @@ public void testDoExecute_WithExceptionDuringProcessing() throws Exception {
assertEquals(1, result.size());
verify(numberOfRecordsFailedCounter, times(1)).increment(1.0);
}
*/

@Test
public void testDoExecute_WithEmptyResponse() throws Exception {
Expand Down

0 comments on commit 2360de2

Please sign in to comment.