Assert the given futures are *eventually* failed
| 1440 | |
| 1441 | // Assert the given futures are *eventually* failed |
| 1442 | void AssertAllFailed(const std::vector<int>& future_indices) { |
| 1443 | const auto& futures = executor_->futures(); |
| 1444 | for (const auto fut_index : future_indices) { |
| 1445 | ASSERT_RAISES(UnknownError, futures[fut_index].status()); |
| 1446 | } |
| 1447 | } |
| 1448 | |
| 1449 | // Assert the given futures are *eventually* successful |
| 1450 | void AssertSpanSuccessful(int start, int stop) { |