code: def test_diagnostics_reader_v1(synthetic_dataset):
      with make_reader(synthetic_dataset.url) as reader:
          next(reader)
          diags = reader.diagnostics
          # Hard to make a meaningful assert on the content of the diags without potentially introducing a race
          assert "output_queue_size" in diags
  
file_path: petastorm/petastorm/tests/test_reader.py
imports: from time import sleep
  import pyarrow.parquet
  import pytest
  from petastorm import make_reader
  from petastorm.reader import Reader
label_desc: Use image node_id 2 for calling a global function with example usage: test_diagnostics_reader_v1(synthetic_dataset) without return types