qa: various fixes

This commit is contained in:
2020-08-29 02:47:47 +02:00
parent 72af45032e
commit f535d68985
3 changed files with 10 additions and 24 deletions

View File

@@ -112,7 +112,7 @@ waiter(int index)
if(verbose)
print("writer %d: got the wlock in %lld ms\n", getpid(), (end - start) / (1000*1000));
wunlock(&afterAWhile);
if((end - start) / (1000*1000) > 1300)
if((end - start) / (1000*1000) > 5000)
postnote(PNGROUP, getpid(), smprint("fail: writer %d got the wlock after %lld ms", getpid(), (end - start) / (1000*1000)));
} else {
if(verbose)
@@ -127,7 +127,7 @@ waiter(int index)
rwakeup(&rCompleted);
qunlock(&rl);
return (end - start) / (1000*1000) < 1300 ? nil : "FAIL";
return (end - start) / (1000*1000) < 5000 ? nil : "FAIL";
}
void