Skip to content

Commit

Permalink
release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smileostrich committed Sep 21, 2024
1 parent d60860c commit 9bd1980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/java/org/ian/soonseo/QueueTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void testJobDiscardAfterMaxRetries() {

List<CapturedJobMetrics> jobMetrics = smallQueue.captureJobMetrics();
assertEquals(1, jobMetrics.size());
assertEquals("SampleFunction1", jobMetrics.get(0).function());
assertEquals("SampleFunction1", jobMetrics.getFirst().function());
}


Expand Down
3 changes: 1 addition & 2 deletions src/test/java/org/ian/soonseo/SampleUsageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.junit.jupiter.api.Test;

import java.util.List;
import java.util.concurrent.RejectedExecutionException;

import static org.junit.jupiter.api.Assertions.*;

Expand Down Expand Up @@ -85,7 +84,7 @@ public void testJobFailure() throws JobProcessingException {

List<CapturedJobMetrics> jobMetrics = queue.captureJobMetrics();
assertEquals(1, jobMetrics.size());
assertEquals(JobStatus.FAILED, jobMetrics.get(0).status());
assertEquals(JobStatus.FAILED, jobMetrics.getFirst().status());
}

@Test
Expand Down

0 comments on commit 9bd1980

Please sign in to comment.