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

Method AssertSpanSuccessfulNow

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

Assert the given futures are successful *now

Source from the content-addressed store, hash-verified

1461
1462 // Assert the given futures are successful *now*
1463 void AssertSpanSuccessfulNow(int start, int stop) {
1464 const auto& futures = executor_->futures();
1465 for (int fut_index = start; fut_index < stop; ++fut_index) {
1466 ASSERT_TRUE(IsFutureFinished(futures[fut_index].state()));
1467 }
1468 }
1469
1470 void AssertAllSuccessfulNow() {
1471 AssertSpanSuccessfulNow(0, static_cast<int>(executor_->futures().size()));

Callers

nothing calls this directly

Calls 2

IsFutureFinishedFunction · 0.85
stateMethod · 0.45

Tested by

no test coverage detected