Skip to content

Commit

Permalink
fixed elasticity test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Aug 1, 2024
1 parent 58d137a commit 3a7a8e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit-tests/margo-elasticity.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ static MunitResult add_xstream_from_json(const MunitParameter params[], void* da

// add an xstream from a JSON string
struct margo_xstream_info xstream_info = {0};
const char* xstream_desc = "{\"name\":\"my_es\", \"scheduler\":{\"pools\":[\"__primary__\", \"__pool_1__\"]}}";
const char* xstream_desc = "{\"name\":\"my_es\", \"scheduler\":{\"pools\":[\"__pool_1__\"]}}";
ret = margo_add_xstream_from_json(mid, xstream_desc, &xstream_info);
munit_assert_int(ret, ==, HG_SUCCESS);
munit_assert_int(xstream_info.index, ==, 6);
Expand Down Expand Up @@ -349,7 +349,7 @@ static MunitResult add_xstream_from_json(const MunitParameter params[], void* da
munit_assert_int(ret, ==, HG_INVALID_ARG);

// add a xstream without a name (name will be generated)
ret = margo_add_xstream_from_json(mid, "{\"scheduler\":{\"pools\":[\"__primary__\"]}}", &xstream_info);
ret = margo_add_xstream_from_json(mid, "{\"scheduler\":{\"pools\":[\"__pool_1__\"]}}", &xstream_info);
munit_assert_int(ret, ==, HG_SUCCESS);
munit_assert_string_equal(xstream_info.name, "__xstream_7__");

Expand Down

0 comments on commit 3a7a8e0

Please sign in to comment.