def METHOD_NAME(mock_run, parse_records, record_q):
    run = mock_run()
    metric_1 = run.define_metric(
        "metric",
        step_metric="globalstep",
    )
    assert metric_1.step_metric == "globalstep"
    metric_2 = run.define_metric(
        "metric",
    )
    assert not metric_2.step_metric
    parsed = parse_records(record_q)
    assert len(parsed.records) == 2
    assert len(parsed.metric) == 2