Skip to content

Commit

Permalink
re-enable FCC crawling in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Sep 6, 2024
1 parent b5bfbfb commit 639b81d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class FederatedCatalogTest {
.name(PROVIDER_NAME)
.id(PROVIDER_BPN)
.build();

abstract static class Tests {

@Test
Expand All @@ -77,9 +77,9 @@ void requestCatalog_fulfillsPolicy_shouldReturnOffer() {
.atMost(ASYNC_TIMEOUT)
.untilAsserted(() -> {
CONSUMER.getFederatedCatalog()
.log().ifValidationFails()
.statusCode(200)
.contentType(JSON)
.log().ifValidationFails()
.body("size()", is(1))
.body("[0].'dcat:dataset'.'@id'", equalTo("test-asset"));
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public Map<String, String> getConfiguration() {
put("edc.dataplane.api.public.baseurl", "http://localhost:%d/api/public/v2/data".formatted(dataPlanePublic.getPort()));
put("edc.catalog.cache.execution.delay.seconds", "2");
put("edc.catalog.cache.execution.period.seconds", "2");
put("edc.catalog.cache.execution.enabled", "false"); // don't use FCC here
}
};
}
Expand Down

0 comments on commit 639b81d

Please sign in to comment.