Skip to content

Commit

Permalink
TRY MORE, +6
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Nov 3, 2024
1 parent cef4f74 commit f4122ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ jobs:
export PATH=../deps/nats-server:../deps/nats-streaming-server:$PATH
export NATS_TEST_SERVER_VERSION="$(nats-server -v)"
flags=""
set +e
for i in $(seq 1 10); do ./bin/testsuite MicroStartStop; done
# ctest -R 'Micro' --timeout 60 --output-on-failure --repeat-until-fail 30
ctest -R 'MicroStartStop' --timeout 60 --output-on-failure --repeat-until-fail 30
# ctest -L 'test' --timeout 60 --output-on-failure --repeat-until-fail ${{ inputs.repeat }}
- name: Upload coverage reports to Codecov
Expand Down
12 changes: 6 additions & 6 deletions test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -33576,6 +33576,12 @@ _startManyMicroservices(microService** svcs, int n, natsConnection *nc, microSer

for (i = 0; i < n; i++)
{
char buf[64];
cfg->Version = "1.0.0";
cfg->Description = "returns 42",

snprintf(buf, sizeof(buf), "CoolService-%d", i);
cfg->Name = buf;
_startMicroserviceOK(&(svcs[i]), nc, cfg, eps, num_eps, arg);
}

Expand Down Expand Up @@ -34098,9 +34104,6 @@ void test_MicroBasics(void)
&ep2_cfg,
};
microServiceConfig cfg = {
.Version = "1.0.0",
.Name = "CoolService",
.Description = "returns 42",
.Metadata = (natsMetadata){
.List = (const char *[]){"skey1", "svalue1", "skey2", "svalue2"},
.Count = 2,
Expand Down Expand Up @@ -34368,9 +34371,6 @@ void test_MicroStartStop(void)
.Handler = _microHandleRequest42,
};
microServiceConfig cfg = {
.Version = "1.0.0",
.Name = "CoolService",
.Description = "returns 42",
.Endpoint = &ep_cfg,
};
natsMsg *reply = NULL;
Expand Down

0 comments on commit f4122ed

Please sign in to comment.