Test Result : Scenario: Restarting job with valid Bundle Start And Bundle Stop steps two times

0 failures
43 tests
Took 40 ms.

All Tests

Test nameDurationStatus
And A bundle named org.eclipse.kura.linux.bluetooth with id 77 and version 1.0.300 is present and ACTIVE0 msFixed
And A bundle named org.eclipse.kura.linux.bluetooth with id 77 and version 1.0.300 is present and RESOLVED0 msFixed
And A regular step creator with the name "TestStep" and the following properties0 msPassed
And A regular step creator with the name "TestStep2" and the following properties0 msFixed
And Bundles are requested0 msFixed
And Bundles are requested0 msFixed
And Device is connected0 msPassed
And Device status is "CONNECTED"0 msPassed
And I confirm job target has step index 1 and status "PROCESS_OK"0 msFixed
And I confirm job target has step index 1 and status "PROCESS_OK"0 msFixed
And I confirm the executed job is finished0 msFixed
And I confirm the executed job is finished0 msFixed
And I create a new job target item0 msFixed
And I get the KuraMock device1 msPassed
And I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
And I logout0 msFixed
And I restart a job0 msFixed
And I search the database for created job steps and I find 20 msFixed
And I select account "kapua-sys"0 msPassed
And I wait 1 second0 msPassed
And I wait 1 second0 msPassed
And I wait 1 second0 msPassed
And KuraMock is disconnected1 msFixed
And Search for step definition with the name "Bundle Start"0 msFixed
And Search for step definition with the name "Bundle Stop"0 msFixed
And The type of the last event is "BUNDLE"0 msFixed
Given I create a job with the name "TestJob"0 msFixed
Given I query for the job with the name "TestJob" and I find it0 msFixed
Given I query for the job with the name "TestJob" and I find it0 msFixed
Given I start the Kura Mock0 msPassed
Scenario: Restarting job with valid Bundle Start And Bundle Stop steps two times38 msFixed
Then A bundle named slf4j.api with id 34 and version 1.7.21 is present and ACTIVE0 msFixed
Then A bundle named slf4j.api with id 34 and version 1.7.21 is present and RESOLVED0 msFixed
Then I find 2 device events0 msFixed
Then I find 4 or more device events0 msFixed
Then I restart a job0 msFixed
Then No exception was thrown0 msFixed
When I create a new step entity from the existing creator0 msFixed
When I create a new step entity from the existing creator0 msFixed
When I query for the execution items for the current job and I count 10 msFixed
When I query for the execution items for the current job and I count 20 msFixed
When I search for events from device "rpione3" in account "kapua-sys"0 msFixed
When I search for events from device "rpione3" in account "kapua-sys"0 msFixed