You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/http-auth-aws/src/test/java/software/amazon/awssdk/http/auth/aws/internal/signer/chunkedencoding/ChunkedEncodedPublisherTckTest.java
Copy file name to clipboardExpand all lines: core/sdk-core/pom.xml
-32Lines changed: 0 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -193,11 +193,6 @@
193
193
<version>${awsjavasdk.version}</version>
194
194
<scope>test</scope>
195
195
</dependency>
196
-
<dependency>
197
-
<groupId>org.reactivestreams</groupId>
198
-
<artifactId>reactive-streams-tck</artifactId>
199
-
<scope>test</scope>
200
-
</dependency>
201
196
<dependency>
202
197
<groupId>com.google.jimfs</groupId>
203
198
<artifactId>jimfs</artifactId>
@@ -232,33 +227,6 @@
232
227
</dependencies>
233
228
<build>
234
229
<plugins>
235
-
<!-- The Reactive Streams TCK tests are based on TestNG. See http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html#Running_TestNG_and_JUnit_Tests -->
Copy file name to clipboardExpand all lines: http-clients/netty-nio-client/pom.xml
-32Lines changed: 0 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -147,11 +147,6 @@
147
147
<artifactId>assertj-core</artifactId>
148
148
<scope>test</scope>
149
149
</dependency>
150
-
<dependency>
151
-
<groupId>org.reactivestreams</groupId>
152
-
<artifactId>reactive-streams-tck</artifactId>
153
-
<scope>test</scope>
154
-
</dependency>
155
150
<dependency>
156
151
<groupId>org.apache.logging.log4j</groupId>
157
152
<artifactId>log4j-api</artifactId>
@@ -254,33 +249,6 @@
254
249
255
250
<build>
256
251
<plugins>
257
-
<!-- The Reactive Streams TCK tests are based on TestNG. See http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html#Running_TestNG_and_JUnit_Tests -->
Copy file name to clipboardExpand all lines: services-custom/s3-transfer-manager/src/main/java/software/amazon/awssdk/transfer/s3/internal/AsyncBufferingSubscriber.java
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ public class AsyncBufferingSubscriber<T> implements Subscriber<T> {
Copy file name to clipboardExpand all lines: services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/AsyncBufferingSubscriberTest.java
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -128,12 +128,9 @@ public void consumerFunctionThrows_shouldCancelSubscriptionAndCompleteFutureExce
128
128
subscriber.onSubscribe(mockSubscription);
129
129
subscriber.onNext("item");
130
130
131
-
/*
132
-
subscription.cancel() now exists in two codepaths:
133
-
- in onNext() catch block.
134
-
- in future.whenComplete()
135
-
*/
136
-
verify(mockSubscription, times(2)).cancel();
131
+
// Cancelled once, from the onNext() catch block. The whenComplete() handler does not cancel again, which would
132
+
// violate Reactive Streams rule 2.3 (cancel from within onError).
0 commit comments