Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

test: added simpositioner with failure signal

wakonig_k requested to merge test/sim_with_failure into master

Description

Added test device to simulate a device failure. The failure can be set through the device.fails signal:

  • 0: no failure
  • 1: comm failure with raised error
  • 2: comm failure but no response

Example:

dev.failure_device.fails.set(0).wait()

A typical config would be:

failure_device:
  deviceClass: sim:sim:SimPositionerWithCommFailure
  deviceConfig:
    delay: 1
    update_frequency: 400
  enabled: true
  readOnly: false
  readoutPriority: baseline

Definition of Done

  • Documentation is up-to-date.
Edited by wakonig_k

Merge request reports