Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serve/watch_added_file_test is failing on Windows #12500

Closed
munificent opened this issue Aug 16, 2013 · 3 comments
Closed

serve/watch_added_file_test is failing on Windows #12500

munificent opened this issue Aug 16, 2013 · 3 comments
Assignees

Comments

@munificent
Copy link
Member

FAIL: picks up files added after serving started
  Caught The schedule had 1 errors:
  ScheduleError:
  | Expected: 'added'
  | Actual: 'Could not find asset myapp|web/other.html.'
  | Which: is different.
  | Expected: added
  | Actual: Could not ...
  | ^
  | Differ at offset 0
  
  Stack trace:
  | package:unittest/src/expect.dart 75:29 expect
  | sdk\lib_internal\pub\test\serve\utils.dart 57:13 requestShouldSucceed.<fn>.<fn>
  | dart:async _EventSinkAdapter.close
  | data_transformer.dart 47:15 _FilterTransformer.handleDone
  | dart:async _StreamController.close
  | http_parser.dart 677:28 _HttpParser._closeIncoming
  | http_parser.dart 461:23 _HttpParser._doParse
  | http_parser.dart 160:15 _HttpParser._parse
  | http_parser.dart 510:11 _onData
  | dart:isolate _ReceivePortImpl._handleMessage
  
  Error detected during task in queue "tasks":
  * creating directory:
  | sdk
  | '-- version
  * creating directory:
  | myapp
  | |-- async descriptor
  | '-- web
  | '-- index.html
  * starting process 'pub serve'
  * reading the next stdout line from process 'pub serve'
  * #­4
  * request index.html
  * creating directory:
  | myapp
  | '-- web
  | '-- other.html
  * #­7
  > request other.html
  |
  | Stack trace:
  | | package:scheduled_test/scheduled_test.dart 287:33 schedule
  | | sdk\lib_internal\pub\test\serve\utils.dart 55:11 requestShouldSucceed
  | | sdk\lib_internal\pub\test\serve\watch_added_file_test.dart 37:25 main.<fn>
  | | sdk\lib_internal\pub\test\test_pub.dart 340:9 _integration.<fn>
  | | dart:async _createTimer.<fn>
  | | timer_impl.dart 96:21 _Timer._createTimerHandler._handleTimeout
  | | timer_impl.dart 112:23 _Timer._createTimerHandler.<fn>
  | | dart:isolate _ReceivePortImpl._handleMessage
  * waiting for process 'pub serve' to die
  ================================================================================
  
  Debug info:
  Results of running 'pub serve':
  Process was killed prematurely.
  Standard output:
  | MSG : Serving myapp on http://localhost:50848
  | MSG : Build completed successfully
  | MSG : GET /index.html -> File "C:\Users\CHROME2\AppData\Local\Temp\tempdir-b307f0c6-0607-11e3-8610-005056030208\myapp\web/index.html"
  | MSG : Build completed successfully
  Standard error:
  | FINE: Using DART_SDK to find SDK at C:\Users\CHROME
2\AppData\Local\Temp\tempdir-b307f0c6-0607-11e3-8610-005056030208\sdk
  | FINE: Pub 0.1.2+3
  | IO : Spawning cmd /c ver
  | IO : Finished ver. Exit code 0.stdout:Microsoft Windows [Version 6.1.7601]Nothing output on stderr.
  | IO : Listing directory C:\Users\CHROME2\AppData\Local\Temp\tempdir-b307f0c6-0607-11e3-8610-005056030208\myapp\web.
  | FINE: Listed directory C:\Users\CHROME
2\AppData\Local\Temp\tempdir-b307f0c6-0607-11e3-8610-005056030208\myapp\web:
  | | C:\Users\CHROME~2\AppData\Local\Temp\tempdir-b307f0c6-0607-11e3-8610-005056030208\myapp\web\index.html
  | ERR : GET /other.html -> Could not find asset myapp|web/other.html.

0 PASSED, 1 FAILED, 0 ERRORS

stderr:
Unhandled exception:
Exception: Some tests failed.

­0 SimpleConfiguration.onDone (package:unittest/src/simple_configuration.dart:206:9)

­1 _completeTests (package:unittest/unittest.dart:782:17)

­2 _runTest (package:unittest/unittest.dart:751:19)

­3 _nextTestCase (package:unittest/unittest.dart:658:11)

­4 _asyncRunCallback (dart:async/event_loop.dart:9:15)

­5 _asyncRunCallback (dart:async/event_loop.dart:13:7)

­6 _createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:8:13)

­7 _Timer._createTimerHandler._handleTimeout (timer_impl.dart:96:21)

­8 _Timer._createTimerHandler._handleTimeout (timer_impl.dart:104:7)

­9 _Timer._createTimerHandler._handleTimeout (timer_impl.dart:104:7)

­10 _Timer._createTimerHandler.<anonymous closure> (timer_impl.dart:112:23)

­11 _ReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:81:92)

@munificent
Copy link
Member Author

Added Started label.

@munificent
Copy link
Member Author

Added Fixed label.

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#615.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants