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

Unified Diff: LayoutTests/http/tests/navigation/resources/check-ping.php

Issue 334113003: Deflake http/tests/navigation/ping-*. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months 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
Index: LayoutTests/http/tests/navigation/resources/check-ping.php
diff --git a/LayoutTests/http/tests/navigation/resources/check-ping.php b/LayoutTests/http/tests/navigation/resources/check-ping.php
index 7d384983e5c0fe6eabea497ba736f9be2924b718..910c6f20aae42ec3e3d8f2ef5d14114a1d363665 100644
--- a/LayoutTests/http/tests/navigation/resources/check-ping.php
+++ b/LayoutTests/http/tests/navigation/resources/check-ping.php
@@ -1,7 +1,7 @@
<?php
require_once '../../resources/portabilityLayer.php';
-$pingFilename = sys_get_temp_dir() . "/ping.txt";
+$pingFilename = sys_get_temp_dir() . "/ping." . $_GET["test"];
while (!file_exists($pingFilename)) {
usleep(10000);
// file_exists() caches results, we want to invalidate the cache.

Powered by Google App Engine
This is Rietveld 408576698