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

Unified Diff: sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart

Issue 130293002: Revert "Fix version_negotiation_test timing out." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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
« no previous file with comments | « sdk/lib/_internal/pub/pub.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
diff --git a/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart b/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
index 5117afe627e99dff779c7688419d325dbc8c186f..64247ea1b453a9d6d05b2a1c995750a03303b7e5 100644
--- a/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
+++ b/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
@@ -54,6 +54,12 @@ main() {
request.response.close();
});
+ // TODO(nweiz): this shouldn't request the versions twice (issue 11077).
+ server.handle('GET', '/api/packages/foo', (request) {
+ request.response.statusCode = 406;
+ request.response.close();
+ });
+
pub.shouldExit(1);
expect(pub.remainingStderr(), completion(equals(
« no previous file with comments | « sdk/lib/_internal/pub/pub.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698