mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 01:59:29 +00:00
Remove unnecessary sleep(). No bug, test-only.
This commit is contained in:
parent
0d598ad45e
commit
039ed0f7fa
@ -765,12 +765,6 @@ main(PRInt32 argc, char *argv[])
|
||||
name += NS_LITERAL_CSTRING("=creation");
|
||||
SetACookie(cookieService, "http://creation.ordering.tests/", nsnull, name.get(), nsnull);
|
||||
|
||||
if (i == 9) {
|
||||
// sleep a couple of seconds, to make sure the first 10 cookies are older than
|
||||
// subsequent ones (timer resolution varies on different platforms).
|
||||
PR_Sleep(2 * PR_TicksPerSecond());
|
||||
}
|
||||
|
||||
if (i >= 10) {
|
||||
expected += name;
|
||||
if (i < 59)
|
||||
|
Loading…
x
Reference in New Issue
Block a user