As a facilitator developer,
I want to ensure that it is possible to run only a single instance of each process like a facilitator, scanner per chain
So that I can avoid any possible race conditions.
Each process can make entry to Database when they start. Each process should be uniquely identified.
Scenarios:
When there is no existing process running,
If I start a type of process like (Scanner or facilitator) for a chain
It should successfully run the process.
When there is an existing process running of a type,
If I start the same type of process for a chain,
It should break the process with an appropriate message.
Details
As a facilitator developer, I want to ensure that it is possible to run only a single instance of each process like a facilitator, scanner per chain So that I can avoid any possible race conditions.
Each process can make entry to Database when they start. Each process should be uniquely identified.
Scenarios:
When there is no existing process running, If I start a type of process like (Scanner or facilitator) for a chain It should successfully run the process.
When there is an existing process running of a type, If I start the same type of process for a chain, It should break the process with an appropriate message.