Skip to content

Commit

Permalink
Fix text coverage and update maven version
Browse files Browse the repository at this point in the history
  • Loading branch information
ethkatnic committed Oct 9, 2024
1 parent 03b4305 commit 8276413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.amazonaws</groupId>
<artifactId>dynamodb-lock-client</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
<packaging>jar</packaging>
<name>Amazon DynamoDB Lock Client</name>
<url>https://github.com/awslabs/amazon-dynamodb-lock-client</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ public void acquireLock_whenLockAlreadyExistsAndIsNotReleased_andSkipBlockingWai
item.put("leaseDuration", AttributeValue.builder().s("100").build());
when(dynamodb.getItem(Mockito.<GetItemRequest>any()))
.thenReturn(GetItemResponse.builder().item(item).build())
.thenReturn(GetItemResponse.builder().build());
.thenReturn(GetItemResponse.builder().item(item).build());
AcquireLockOptions acquireLockOptions = AcquireLockOptions.builder("customer1")
.withShouldSkipBlockingWait(true)
.withDeleteLockOnRelease(false).build();
Expand Down

0 comments on commit 8276413

Please sign in to comment.