Temporarily disable websocket test causing random build failures (#4680)

* Temporarily disable websocket test causing random build failures

* Comment out imports
Этот коммит содержится в:
Joram Wilander
2016-11-30 10:25:53 -05:00
коммит произвёл GitHub
родитель d86cdc3f91
Коммит 2bf0342d13

Просмотреть файл

@@ -4,16 +4,17 @@
package api package api
import ( import (
"encoding/json" //"encoding/json"
"net/http" //"net/http"
"testing" "testing"
"time" "time"
"github.com/gorilla/websocket" //"github.com/gorilla/websocket"
"github.com/mattermost/platform/model" "github.com/mattermost/platform/model"
) )
func TestWebSocketAuthentication(t *testing.T) { // XXX FIXME
/*func TestWebSocketAuthentication(t *testing.T) {
th := Setup().InitBasic() th := Setup().InitBasic()
WebSocketClient, err := th.CreateWebSocketClient() WebSocketClient, err := th.CreateWebSocketClient()
if err != nil { if err != nil {
@@ -110,7 +111,7 @@ func TestWebSocketAuthentication(t *testing.T) {
conn.Close() conn.Close()
} }
} }*/
func TestWebSocket(t *testing.T) { func TestWebSocket(t *testing.T) {
th := Setup().InitBasic() th := Setup().InitBasic()