Revision 28f3ea08
tests/RepoClient/RepoClient.c | ||
---|---|---|
159 | 159 |
ntests = cfg_size(cfg, "test"); |
160 | 160 |
if (!ntests) fatal("No tests specified, exiting"); |
161 | 161 |
|
162 |
struct timeval t = { 1, 0 }; |
|
163 |
napaSchedulePeriodic(&t, 1.0/5.0, do_tests, NULL);
|
|
164 |
do_tests(NULL, NULL);
|
|
162 |
//struct timeval t = { 1, 0 };
|
|
163 |
//napaSchedulePeriodic(&t, 1.0/5000.0, do_tests, NULL);
|
|
164 |
do_tests(repoclient, NULL);
|
|
165 | 165 |
|
166 | 166 |
repClose(repoclient); |
167 | 167 |
|
tests/RepoClient/repoclient.cfg | ||
---|---|---|
1 |
repository { server = "192.168.35.122:9834" }
|
|
1 |
repository { server = "192.168.34.10:9832" }
|
|
2 | 2 |
|
3 | 3 |
test { ListMeasurementNames { maxresults = 50 } } |
4 | 4 |
|
Also available in: Unified diff