Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java |
index 31b6fb619163b6d0d0660ac1cae19a13130e6177..2e73d23628adc14801aa3a89b042e45aab92ae0e 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java |
@@ -19,6 +19,7 @@ import com.google.dart.tools.core.DartCore; |
import com.google.dart.tools.core.analysis.AnalysisTestUtilities; |
import com.google.dart.tools.core.index.NotifyCallback; |
import com.google.dart.tools.core.internal.index.impl.InMemoryIndex; |
+import com.google.dart.tools.core.internal.model.DartLibraryImpl; |
import com.google.dart.tools.core.model.CompilationUnit; |
import com.google.dart.tools.core.model.DartProject; |
@@ -50,6 +51,7 @@ public class TestProject { |
* Wait for auto-build notification to occur, that is for the auto-build to finish. |
*/ |
public static void waitForAutoBuild() { |
+ DartLibraryImpl.clearLocalUrisCache(); |
while (true) { |
try { |
IJobManager jobManager = Job.getJobManager(); |