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

Method AssertSpanSuccessful

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

Assert the given futures are *eventually* successful

Source from the content-addressed store, hash-verified

1448
1449 // Assert the given futures are *eventually* successful
1450 void AssertSpanSuccessful(int start, int stop) {
1451 const auto& futures = executor_->futures();
1452 for (int fut_index = start; fut_index < stop; ++fut_index) {
1453 ASSERT_OK(futures[fut_index].status());
1454 ASSERT_EQ(*futures[fut_index].result(), fut_index);
1455 }
1456 }
1457
1458 void AssertAllSuccessful() {
1459 AssertSpanSuccessful(0, static_cast<int>(executor_->futures().size()));

Callers

nothing calls this directly

Calls 2

statusMethod · 0.45
resultMethod · 0.45

Tested by

no test coverage detected