Skip to content

Commit

Permalink
Reduce timeouts in uniretrygen.t so tests run faster.
Browse files Browse the repository at this point in the history
  • Loading branch information
apenwarr committed Oct 2, 2018
1 parent c3cfbe1 commit 0f621d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uniconf/t/uniretrygen.t.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct UniRetryGenTester

void wait_for_daemon(UniRetryGenTester t)
{
UniConfRoot another_cfg(WvString("retry:unix:%s", t.socket));
UniConfRoot another_cfg(WvString("retry:unix:%s 100", t.socket));

for (;;)
{
Expand All @@ -43,7 +43,7 @@ void wait_for_daemon(UniRetryGenTester t)
WVTEST_MAIN("UniRetryGen Sanity Test")
{
UniRetryGen *gen = new UniRetryGen("temp:");
UniConfGenSanityTester::sanity_test(gen, "retry:temp:");
UniConfGenSanityTester::sanity_test(gen, "retry:temp: 100");
WVRELEASE(gen);
}

Expand Down Expand Up @@ -151,7 +151,7 @@ WVTEST_MAIN("UniRetryGen: mount point exists")
// bug 9769
UniConfRoot uniconf("temp:");

WVPASS(uniconf["foo"].mount("retry:unix:/tmp/foobar"));
WVPASS(uniconf["foo"].mount("retry:unix:/tmp/foobar 100"));

WVPASS(uniconf["foo"].exists());
WVPASSEQ(uniconf["foo"].xget("", WvString::null), "");
Expand Down

0 comments on commit 0f621d0

Please sign in to comment.