Record raster smoke live status handling
This commit is contained in:
@@ -166,7 +166,7 @@ with open(path, "r", encoding="utf-8") as handle:
|
||||
job = json.load(handle)["data"]
|
||||
if job.get("job_type") != "raster.tile":
|
||||
raise SystemExit(f"Unexpected tile job_type: {job.get('job_type')}")
|
||||
if job.get("status") != "completed":
|
||||
if job.get("status") not in {"success", "completed"}:
|
||||
raise SystemExit(f"Raster tile job did not complete: {job.get('status')}")
|
||||
result = job.get("result_json") or {}
|
||||
if result.get("dataset_id") != raster_id:
|
||||
|
||||
Reference in New Issue
Block a user