Skip to content

Commit

Permalink
Job to provide default metadata #123
Browse files Browse the repository at this point in the history
lambda names are different on different JVMs
  • Loading branch information
andrus committed May 4, 2024
1 parent f51680c commit e585aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootique-job/src/test/java/io/bootique/job/JobTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void getMetadata() {
@Test
void getMetadataLambda() {
Job j = p -> JobResult.succeeded();
assertTrue(j.getMetadata().getName().startsWith("jobtest$$lambda$"), j.getMetadata().getName());
assertTrue(j.getMetadata().getName().startsWith("jobtest$$lambda"), j.getMetadata().getName());
}

static class MyJob implements Job {
Expand Down

0 comments on commit e585aac

Please sign in to comment.