-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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:
Metadata
Metadata
Assignees
Labels
No labels