From 2e15657485d252f6c7bfd6b75a7d352c80c88486 Mon Sep 17 00:00:00 2001
From: Chris-Savinovich <csavinovich@digium.com>
Date: Fri, 30 Nov 2018 14:00:14 -0600
Subject: [PATCH] test_websocket_client.c: Disable
 websocket_client_create_and_connect test.

This test was occasionally failing, with:

  WARNING[5812]: http.c:1939 httpd_helper_thread: Failed to set
      TCP_NODELAY on HTTP connection: Bad file descriptor
  ERROR[5812]: iostream.c:91 ast_iostream_nonblock: Failed to get
      fcntl() flags for file descriptor: Bad file descriptor
  ERROR[5812]: iostream.c:569 ast_iostream_close: close() failed: Bad
      file descriptor

Disabled for now by making the test explicit only.

Change-Id: I778f6cbb6104c6b4e89737a2eaf1a9540888d351
---
 tests/test_websocket_client.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_websocket_client.c b/tests/test_websocket_client.c
index dcf1a1773c..11c06ea090 100644
--- a/tests/test_websocket_client.c
+++ b/tests/test_websocket_client.c
@@ -54,6 +54,7 @@ AST_TEST_DEFINE(websocket_client_create_and_connect)
 	switch (cmd) {
 	case TEST_INIT:
 		info->name = __func__;
+		info->explicit_only = 1;
 		info->category = CATEGORY;
 		info->summary = "test creation and connection of a client websocket";
 		info->description = "test creation and connection of a client websocket";
-- 
GitLab