Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: LayoutTests/http/tests/xmlhttprequest/resources/small-chunks.cgi

Issue 731443002: [LayoutTest] Fix xmlhttprequest-responseXML-nopartial flakiness. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/xmlhttprequest/resources/small-chunks.cgi
diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/small-chunks.cgi b/LayoutTests/http/tests/xmlhttprequest/resources/small-chunks.cgi
index 0225a4ce102b245cc7ecdc0c266d94948b6344b2..3d37b574f01ddab908f0810383f2e20c6696836c 100755
--- a/LayoutTests/http/tests/xmlhttprequest/resources/small-chunks.cgi
+++ b/LayoutTests/http/tests/xmlhttprequest/resources/small-chunks.cgi
@@ -1,6 +1,7 @@
#!/usr/bin/perl
use IO::Socket;
+use Time::HiRes qw(sleep);
$| = 1;
@@ -10,5 +11,5 @@ print "Content-Type: text/html; charset=ISO-8859-1\n\n";
for (my $i = 0; $i < 5; $i++) {
print "This is chunk number $i";
- sleep 1;
+ sleep 0.1;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698