Skip to content

Commit 77c1d04

Browse files
author
Bret Ambrose
committed
Exception text update
1 parent b73ba4e commit 77c1d04

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/software/amazon/awssdk/crt/test/Mqtt5ClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,7 @@ private void doOp_SharedSubscriptionTest() {
20702070
subscriberTwoClient.subscribe(subscribePacketBuilder.build()).get(OPERATION_TIMEOUT_TIME, TimeUnit.SECONDS);
20712071

20722072
Thread.sleep(4000);
2073-
2073+
20742074
for (int i = 0; i < messageCount; ++i) {
20752075
publishPacketBuilder.withPayload(String.valueOf(i).getBytes());
20762076
publisherClient.publish(publishPacketBuilder.build()).get(OPERATION_TIMEOUT_TIME, TimeUnit.SECONDS);

src/test/java/software/amazon/awssdk/crt/test/TestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static public void doRetryableTest(Runnable testFunction, Function<Exception, Bo
2727
Thread.sleep(sleepTimeMillis);
2828
}
2929

30-
throw new Exception("Retryable MQTT test exceeded the maximum allowed attempts without succeeding");
30+
throw new Exception("Retryable network test exceeded the maximum allowed attempts without succeeding");
3131
}
3232

3333
static public Boolean isRetryableTimeout(Exception ex) {

0 commit comments

Comments
 (0)