Skip to content

Conversation

@LDiazN
Copy link
Contributor

@LDiazN LDiazN commented Aug 5, 2025

Quick fix for validation errors for measurement meta:

  • We were using failure instead of msm_failure to retrieve the failure field from the clickhouse query
  • We were passing the ASN as int rather than a string, as expected by the MeasurementMeta model

@LDiazN LDiazN requested a review from hellais August 5, 2025 08:34
@LDiazN LDiazN self-assigned this Aug 5, 2025
@LDiazN LDiazN merged commit 9b233a7 into master Aug 5, 2025
6 of 7 checks passed
@LDiazN LDiazN deleted the fix-bad-failure-field branch August 5, 2025 09:46

def test_failure_format(db):
ch = Clickhouse.from_url(db)
msm = query_click_one_row(ch, "select * from fastpath where test_name = 'web_connectivity'", {}) or {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably better to add a LIMIT 1 in here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants