Open-CAS/standalone-linux-io-tracer

Unsupported operands in test_lba_histogram

mmkayPL opened this issue · 0 comments

Test test_lba_histogram in tests/functional/test_trace_io_events.py fails dure to changes in test API.

def test_lba_histogram():
    TestRun.LOGGER.info("Testing lba histogram")
    iotrace = TestRun.plugins['iotrace']
    number_buckets = 32
    bucket_size = Size(256)
    start_lba = 10240
  end_lba = start_lba + number_buckets * bucket_size

E TypeError: unsupported operand type(s) for +: 'int' and 'Size'