-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests to cover RPCs with multiple responses. An RPC issues a requested number of responses followed by an error response with errnum == ENODATA (like EOF). 1) Call flux_rpc_get() in a loop, with flux_future_reset() after each successful call. Verify that the requetested number of responses was received. 2) Set up a continuation that calls flux_future_reset() after a successful flux_rpc_get(). On failure, verify that the requested number of responses was received. 3) Like #2 except handle the first response in one continuation, and subsequent responses in another. It covers calling flux_future_then() a second time on a future.
- Loading branch information
Showing
1 changed file
with
130 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters