MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST

Function TEST

tensorflow/core/distributed_runtime/partial_run_mgr_test.cc:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace {
23
24TEST(PartialRunMgrFindOrCreate, Create) {
25 // Basic test of PartialRunMgr CancellationManager creation.
26 PartialRunMgr partial_run_mgr;
27 int step_id = 1;
28 CancellationManager* cancellation_manager;
29 partial_run_mgr.FindOrCreate(step_id, &cancellation_manager);
30 EXPECT_TRUE(cancellation_manager != nullptr);
31}
32
33TEST(PartialRunMgrFindOrCreate, Find) {
34 // Basic test of PartialRunMgr CancellationManager find.

Callers

nothing calls this directly

Calls 3

PartialRunDoneMethod · 0.80
ExecutorDoneMethod · 0.80
FindOrCreateMethod · 0.45

Tested by

no test coverage detected