Skip to content

message_passing: one way communication integration tests - #936

Draft
gdadunashvili wants to merge 1 commit into
eclipse-score:mainfrom
gdadunashvili:message_passing_integration_tests
Draft

message_passing: one way communication integration tests#936
gdadunashvili wants to merge 1 commit into
eclipse-score:mainfrom
gdadunashvili:message_passing_integration_tests

Conversation

@gdadunashvili

Copy link
Copy Markdown
Member

The goal of these tests is to perform simple message_passing behavior and validate liveness, or validate failure modes (depending on if the test is positive or negative)

The goal of these tests is to perform simple message_passing behavior
and validate liveness, or validate failure modes (depending on if the test
is positive or negative)

int main(int argc, char** argv)
{
char message_char;
char message_char;
if (argc > 1)
{
message_char = *(argv[1]);

int main(int argc, char** argv)
{
char message_char;
int main(int argc, char** argv)
{
char message_char;
bool expecting_message;
std::cout << "SRVR " << argc << std::endl;
if (argc > 3)
{
message_char = *(argv[1]);
if (argc > 3)
{
message_char = *(argv[1]);
expecting_message = static_cast<bool>(*(argv[2]));
{
message_char = *(argv[1]);
expecting_message = static_cast<bool>(*(argv[2]));
server_id = std::string{argv[3]};

std::cout << "Hello from server!" << std::endl;

score::message_passing::ServerFactory::ServerConfig server_config{10, 1, 5};

std::cout << "Hello from server!" << std::endl;

score::message_passing::ServerFactory::ServerConfig server_config{10, 1, 5};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants