[Asterisk-code-review] test websocket client.c: Disable websocket client create and... (asterisk[16])

George Joseph asteriskteam at digium.com
Wed Dec 5 08:17:52 CST 2018


George Joseph has submitted this change and it was merged. ( https://gerrit.asterisk.org/10725 )

Change subject: test_websocket_client.c: Disable websocket_client_create_and_connect test.
......................................................................

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
---
M tests/test_websocket_client.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve; Verified
  George Joseph: Looks good to me, approved; Approved for Submit



diff --git a/tests/test_websocket_client.c b/tests/test_websocket_client.c
index e33f3f9..4453235 100644
--- a/tests/test_websocket_client.c
+++ b/tests/test_websocket_client.c
@@ -52,6 +52,7 @@
 	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";

-- 
To view, visit https://gerrit.asterisk.org/10725
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-MessageType: merged
Gerrit-Change-Id: I778f6cbb6104c6b4e89737a2eaf1a9540888d351
Gerrit-Change-Number: 10725
Gerrit-PatchSet: 3
Gerrit-Owner: Chris Savinovich <csavinovich at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181205/78f4826e/attachment.html>


More information about the asterisk-code-review mailing list