Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The following test fails with "Actual: it throws nothing." probably because broadcast_async doesn't propagate exceptions.
TEST_F(compute_test, unknown_node_broadcast_throws) { auto unknown_node = cluster_node("some", "random", {"127.0.0.1", 1234}); EXPECT_THROW( { try { m_client.get_compute().broadcast({unknown_node}, {}, ECHO_JOB, {"unused"}); } catch (const ignite_error &e) { EXPECT_THAT(e.what_str(), testing::HasSubstr("None of the specified nodes are present in the cluster: [random]")); throw; } }, ignite_error); }