Skip to content

Commit

Permalink
Revert a change
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Damian authored and Adrian Damian committed Jan 18, 2024
1 parent 9da5b55 commit 7d041c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ private void doit() {
ErrorSummary error = null;
ExecutionPhase endPhase = ExecutionPhase.COMPLETED;
if (successCount == 0) {
log.warn("HERE");
endPhase = ExecutionPhase.ERROR;
ep = jobUpdater.setPhase(job.getID(), ExecutionPhase.EXECUTING, endPhase, error, new Date());
} else {
Expand All @@ -224,7 +225,7 @@ private void doit() {
}
}
if (!endPhase.equals(ep)) {
log.warn("Could not change the job phase from " + ExecutionPhase.EXECUTING + " to " + endPhase);
log.warn("Could not change the job phase from " + ExecutionPhase.EXECUTING + " to " + endPhase + " vs " + ep);
}
logInfo.setSuccess(true);
} catch (ResourceNotFoundException e) {
Expand Down
2 changes: 1 addition & 1 deletion cavern/src/test/resources/cadc-registry.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# configure RegistryClient bootstrap
## BUG / HACK: this gets pulled into the intTest target so needs a legit value
ca.nrc.cadc.reg.client.RegistryClient.baseURL = https://localhost.cadc.dao.nrc.ca/reg/
ca.nrc.cadc.reg.client.RegistryClient.baseURL = https://haproxy.cadc.dao.nrc.ca/reg/

# local authority map
# <base standardID> = <authority>
Expand Down

0 comments on commit 7d041c5

Please sign in to comment.