Skip to content

Commit

Permalink
Take config annotation when trying to match test resources
Browse files Browse the repository at this point in the history
Relates to: quarkusio#44129
  • Loading branch information
geoand committed Nov 5, 2024
1 parent 91cc2dd commit 5aa171b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,12 @@ public static Set<TestResourceManager.TestResourceComparisonInfo> testResourceCo
}
Set<TestResourceManager.TestResourceComparisonInfo> result = new HashSet<>(uniqueEntries.size());
for (TestResourceClassEntry entry : uniqueEntries) {
Map<String, String> args = new HashMap<>(entry.args);
if (entry.configAnnotation != null) {
args.put("configAnnotation", entry.configAnnotation.annotationType().getName());
}
result.add(new TestResourceComparisonInfo(entry.testResourceLifecycleManagerClass().getName(), entry.getScope(),
entry.args));
args));
}
return result;
}
Expand Down

0 comments on commit 5aa171b

Please sign in to comment.