jku-isse / factory-in-a-box

Code and Models for developing Factory in a Box LIT Artifact Call
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Reset Request not triggering actual reset on Machines other than IO Stations #79

Closed mrkrizic closed 2 years ago

mrkrizic commented 2 years ago

When running a test, all discovered actors get sent a Generic Reset Request. Unfortunately, only the IO Stations actually get forwarded an actual request, while the other participants stay in stopped.

This should not happen in the first place, since all machine actors are implemented analog to the IO Stations.

Find out what the problem is.

mrkrizic commented 2 years ago

The MES currently assigns the default position to 3 machines. All machines except for the last one assigned the default position are able to reset. Check if issue #78 solves this problem

mrkrizic commented 2 years ago

Issue was in how the test was written. The last MachineConnectedEvent exited the loop, triggering the assertion and ending the test before the final Reset Request could be sent.

Should be fixed in next commit