Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker committed Jul 28, 2023
1 parent d146ac2 commit 337888c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 21 deletions.
2 changes: 2 additions & 0 deletions docker/datahub-ingestion-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ task mkdirBuildDocker {
}
}
dockerClean.finalizedBy(mkdirBuildDocker)
dockerClean.dependsOn([':docker:datahub-ingestion-slim:dockerClean',
':docker:datahub-ingestion:dockerClean'])

task cleanLocalDockerImages {
doLast {
Expand Down
1 change: 1 addition & 0 deletions docker/datahub-ingestion-base/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if [ ! -z "$ACTIONS_EXTRA_PACKAGES" ]; then
fi

if [[ ! -z "$ACTIONS_CONFIG" && ! -z "$ACTIONS_EXTRA_PACKAGES" ]]; then
mkdir -p /tmp/datahub/logs
curl -q "$ACTIONS_CONFIG" -o config.yaml
exec dockerize -wait ${DATAHUB_GMS_PROTOCOL:-http}://$DATAHUB_GMS_HOST:$DATAHUB_GMS_PORT/health -timeout 240s \
datahub actions --config config.yaml
Expand Down
1 change: 1 addition & 0 deletions docker/datahub-ingestion-slim/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ task mkdirBuildDocker {
}
}
dockerClean.finalizedBy(mkdirBuildDocker)
dockerClean.dependsOn(':docker:datahub-ingestion:dockerClean')

task cleanLocalDockerImages {
doLast {
Expand Down
18 changes: 0 additions & 18 deletions metadata-ingestion/=63.0.0

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public class EntityServiceImpl implements EntityService {
OBJECT_MAPPER.getFactory().setStreamReadConstraints(StreamReadConstraints.builder().maxStringLength(maxSize).build());
}

private static final int DEFAULT_MAX_TRANSACTION_RETRY = 3;
private static final int DEFAULT_MAX_TRANSACTION_RETRY = 5;

protected final AspectDao _aspectDao;
private final EventProducer _producer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ describe("deprecation", () => {
cy.addViaFormModal("test deprecation", "Add Deprecation Details");

cy.goToDataset(urn, datasetName);
cy.contains("Deprecated");
cy.contains("DEPRECATED");

cy.openThreeDotDropdown();
cy.clickOptionWithText("Mark as un-deprecated");
cy.ensureTextNotPresent("Deprecated");
cy.ensureTextNotPresent("DEPRECATED");
});
});

0 comments on commit 337888c

Please sign in to comment.