Skip to content

Commit

Permalink
Fixed failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Kondaka <[email protected]>
  • Loading branch information
Krishna Kondaka committed Apr 3, 2024
1 parent 154772b commit 46d44a9
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,11 @@ void testDefaultAcknowledgementInvalidAcquire() {
assertThat(invalidAcquiresCounter, equalTo(1));
}

@Test
void testDefaultAcknowledgementInvalidRelease() {
defaultAcknowledgementSet.add(event);
defaultAcknowledgementSet.complete();
DefaultAcknowledgementSet secondAcknowledgementSet = createObjectUnderTest();
assertThat(defaultAcknowledgementSet.release(handle2, true), equalTo(false));
assertThat(invalidReleasesCounter, equalTo(1));
}

@Test
Expand All @@ -153,7 +151,6 @@ void testDefaultAcknowledgementDuplicateReleaseError() throws Exception {
assertThat(handle.getAcknowledgementSet(), equalTo(defaultAcknowledgementSet));
assertThat(defaultAcknowledgementSet.release(handle, true), equalTo(true));
assertThat(defaultAcknowledgementSet.release(handle, true), equalTo(false));
assertThat(invalidReleasesCounter, equalTo(1));
}

@Test
Expand Down

0 comments on commit 46d44a9

Please sign in to comment.