Skip to content

Commit e2e61bb

Browse files
committed
Merge branch 'u/dspeck/tester-increment-schema-registry-version'
2 parents a68bf25 + d448321 commit e2e61bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/tester/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Instrument:
6464
"LSSTCam-imSim": Instrument(1, 189, 999),
6565
}
6666
# The schema ID of the ``next_visit`` message in the Sasquatch REST Proxy.
67-
SCHEMA_ID = 99
67+
SCHEMA_ID = 170
6868

6969
max_exposure = {
7070
"HSC": 21474800,
@@ -359,6 +359,7 @@ def send_next_visit(url, group, visit_infos):
359359
value_schema_level = dict(value_schema_id=SCHEMA_ID, records=[records_level])
360360

361361
r = requests.post(url, data=json.dumps(value_schema_level), headers=header)
362+
r.raise_for_status()
362363
_log.debug(f"Kafka proxy post status code {r.status_code} and response {r.content}")
363364

364365

0 commit comments

Comments
 (0)