MCPcopy Create free account
hub / github.com/apache/arrow / AssertAllSuccessful

Method AssertAllSuccessful

cpp/src/arrow/util/future_test.cc:1433–1439  ·  view source on GitHub ↗

Assert the given futures are *eventually* successful

Source from the content-addressed store, hash-verified

1431
1432 // Assert the given futures are *eventually* successful
1433 void AssertAllSuccessful(const std::vector<int>& future_indices) {
1434 const auto& futures = executor_->futures();
1435 for (const auto fut_index : future_indices) {
1436 ASSERT_OK(futures[fut_index].status());
1437 ASSERT_EQ(*futures[fut_index].result(), fut_index);
1438 }
1439 }
1440
1441 // Assert the given futures are *eventually* failed
1442 void AssertAllFailed(const std::vector<int>& future_indices) {

Callers

nothing calls this directly

Calls 3

statusMethod · 0.45
resultMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected