Skip to content

Commit 25147bf

Browse files
authored
Merge pull request #104 from ethkatnic/1.3.x-release
Fix test coverage and update maven version
2 parents 03b4305 + 8276413 commit 25147bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>com.amazonaws</groupId>
44
<artifactId>dynamodb-lock-client</artifactId>
5-
<version>1.2.0</version>
5+
<version>1.3.0</version>
66
<packaging>jar</packaging>
77
<name>Amazon DynamoDB Lock Client</name>
88
<url>https://github.com/awslabs/amazon-dynamodb-lock-client</url>

src/test/java/com/amazonaws/services/dynamodbv2/AmazonDynamoDBLockClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public void acquireLock_whenLockAlreadyExistsAndIsNotReleased_andSkipBlockingWai
464464
item.put("leaseDuration", AttributeValue.builder().s("100").build());
465465
when(dynamodb.getItem(Mockito.<GetItemRequest>any()))
466466
.thenReturn(GetItemResponse.builder().item(item).build())
467-
.thenReturn(GetItemResponse.builder().build());
467+
.thenReturn(GetItemResponse.builder().item(item).build());
468468
AcquireLockOptions acquireLockOptions = AcquireLockOptions.builder("customer1")
469469
.withShouldSkipBlockingWait(true)
470470
.withDeleteLockOnRelease(false).build();

0 commit comments

Comments
 (0)