Testing Distributed Callbacks
Context
- The DPUT is being used to allow concurrent processing. The original thread may finish first.
Forces
- Functional tests may pass at first but regression tests may reveal inconsistent results
Solution
- Build test cases that submit a second message prior to receiving the response from the first message
- Construct multiple clients, submit multiple requests through multiple callback objects