Origen: Problems with flow branching using test ids

后端 未结 1 525
小鲜肉
小鲜肉 2021-01-28 10:47

I\'m having some trouble with conditional flow branching based on the result of a previous test. This flow code is intended generate a fall-back test point if the first test fa

相关标签:
1条回答
  • 2021-01-28 11:26

    Pretty sure your bist method in the interface is not passing the options along when it is generating the flow entry.

    You probably have something like:

    flow.test(my_test_suite)
    

    but you need to let the flow generator know about the :id, :if_failed and any other flow control options which are in play. This will probably do it:

    flow.test(my_test_suite, options)
    

    If you were to take your interface method out of the equation for a minute and change to this, then you should see it working:

    flow.test :cpu, ip: :L2, testmode: :speed, cond: :pmin, id: :cpu_pmin
    flow.test :cpu, ip: :L2, testmode: :speed, cond: :pmax, if_failed: :cpu_pmin
    
    0 讨论(0)
提交回复
热议问题