Skip to content

Commit

Permalink
tests: remove obsolete test case
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Jan 9, 2024
1 parent 4aed188 commit c2a13a7
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/test/planner/test_planner_endpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,21 +544,6 @@ TEST_CASE_METHOD(PlannerEndpointExecTestFixture,
msg.set_payloadjson(faabric::util::messageToJson(*otherBerStatus));
}

// If the request JSON payload contains a BER status for an in-flight BER,
// the request will succeed. Depending on the messages we tell the planner
// we are expecting, it will either succeed or not
SECTION("Success, but not finished")
{
expectedReturnCode = beast::http::status::ok;
auto expectedBerStatus = faabric::util::batchExecStatusFactory(appId);
expectedBerStatus->set_finished(false);
*expectedBerStatus->add_messageresults() = msgResult;
expectedResponseBody = faabric::util::messageToJson(*expectedBerStatus);
// Change the expected number of messages
berStatus->set_expectednummessages(2);
msg.set_payloadjson(faabric::util::messageToJson(*berStatus));
}

// Post the EXECUTE_BATCH_STATUS request:
msgJsonStr = faabric::util::messageToJson(msg);
result = doPost(msgJsonStr);
Expand Down

0 comments on commit c2a13a7

Please sign in to comment.