fixed an issue with artifact search that was happening on windows builds (race condition it seems)
@@ -138,6 +138,7 @@ public abstract class AbstractMapRegistryStorage implements RegistryStorage {
if (search == null || search.trim().isEmpty()) {
return true;
}
+ try {
switch (searchOver) {
case name:
case description:
@@ -152,6 +153,9 @@ public abstract class AbstractMapRegistryStorage implements RegistryStorage {
.stream()
.anyMatch(v -> v != null && v.contains(search));
}
+ } catch (ArtifactNotFoundException notFound) {
+ return false;
+ }
}
public static StoredArtifact toStoredArtifact(Map<String, String> content) {
