From e585aac2cae3c835fd43b96c0a55866579e5e986 Mon Sep 17 00:00:00 2001 From: Andrus Adamchik Date: Sat, 4 May 2024 09:03:19 -0400 Subject: [PATCH] Job to provide default metadata #123 lambda names are different on different JVMs --- bootique-job/src/test/java/io/bootique/job/JobTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootique-job/src/test/java/io/bootique/job/JobTest.java b/bootique-job/src/test/java/io/bootique/job/JobTest.java index fbc85561..71c8de79 100644 --- a/bootique-job/src/test/java/io/bootique/job/JobTest.java +++ b/bootique-job/src/test/java/io/bootique/job/JobTest.java @@ -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 {