I am using one database synchronization from one platform (php) to another platform (sharepoit) l, but I am confused for which conditions check for synchronization process. which steps follows for test synchronization process.
closed as unclear what you're asking by dzieciou, IAmMilinPatel, ECiurleo, Kate Paulk♦, Rsf Mar 4 '16 at 15:38
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Key points in testing any kind of synchronised process which may help you design good test cases are:
- More than 1 requests are trying to access the same resource.
- First come should be served first (unless something very bad happened to it e.g. the thread is killed)
So for example, try to make some requests at the same time, then cancel/abort the leader and see which one is processed next. Also have a look at: https://stackoverflow.com/questions/2825657/how-to-unit-test-synchronized-code