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

Travis build failure on IE 10 and Safari #9

Open
AdrianCozma opened this issue Mar 1, 2016 · 0 comments
Open

Travis build failure on IE 10 and Safari #9

AdrianCozma opened this issue Mar 1, 2016 · 0 comments

Comments

@AdrianCozma
Copy link

The Travis builds for Safari and Internet Explorer 10 are failing with:

  2) WsClient echo.from.ws.server:
      AssertionError: '# This script is used for loading a browser origin page\n\naccept http://localhost:8080/\naccepted\nconnected\nread method "GET == '# This script is used for loading a browser origin page\n\naccept http://localhost:8080/\naccepted\nconnected\nread method "GET
      + expected - actual

       read method "GET"
       read version "HTTP/1.1"
       read header "Host" "localhost:8080"
      -read header "Upgrade" /(?i:websocket)/
      -# commented out as of now because bug: https://github.com/k3po/k3po/issues/53
      -# read header "Connection" /(?i:Upgrade)/
      -read header "Sec-WebSocket-Key" /(?<readKey>[a-zA-Z0-9+\/=]{24})/
      -read header "Sec-WebSocket-Version" "13"
      -
      -write status "101" "Switching Protocols"
      -write version "HTTP/1.1"
      -write header "Upgrade" "websocket"
      -write header "Connection" "Upgrade"
      -write header "Sec-WebSocket-Accept" ${ws:handshakeHash(readKey)}
      -write notify SERVER_READY_TO_READ
      -
      -read [0x81 0xfd] ([0..4] :readMask)
      -read option mask ${readMask}
      -read ([0..125] :server125)
      -read option mask [0x00 0x00 0x00 0x00]
      -read await CLIENT_READY_TO_READ
      -
      -write [0x81 0x7d] ${server125}
      +Missing HTTP header: Upgrade

      at assertResults (lib/testFrameworks/mocha-k3po.js:121:28)
      at Context.<anonymous> (lib/testFrameworks/mocha-k3po.js:173:21)
Warning: Task "mochaTest:testMochaK3poSauceBrowserSupport" failed.� Use --force to continue.
Aborted due to warnings.
The command "grunt sauceTest" exited with 3.

please find full logs here:

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

1 participant