mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Temporarily disable websocket test causing random build failures (#4680)
* Temporarily disable websocket test causing random build failures * Comment out imports
This commit is contained in:
@@ -4,16 +4,17 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
//"encoding/json"
|
||||
//"net/http"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
//"github.com/gorilla/websocket"
|
||||
"github.com/mattermost/platform/model"
|
||||
)
|
||||
|
||||
func TestWebSocketAuthentication(t *testing.T) {
|
||||
// XXX FIXME
|
||||
/*func TestWebSocketAuthentication(t *testing.T) {
|
||||
th := Setup().InitBasic()
|
||||
WebSocketClient, err := th.CreateWebSocketClient()
|
||||
if err != nil {
|
||||
@@ -110,7 +111,7 @@ func TestWebSocketAuthentication(t *testing.T) {
|
||||
|
||||
conn.Close()
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
func TestWebSocket(t *testing.T) {
|
||||
th := Setup().InitBasic()
|
||||
|
||||
Reference in New Issue
Block a user