]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
test_websocket_client.c: Disable websocket_client_create_and_connect test.
authorChris-Savinovich <csavinovich@digium.com>
Fri, 30 Nov 2018 20:00:14 +0000 (14:00 -0600)
committerSean Bright <sean.bright@gmail.com>
Sun, 2 Dec 2018 13:55:10 +0000 (08:55 -0500)
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

index dcf1a1773c81ce03e920b89ef025d57b4b13879e..11c06ea090fd28278b61a10506f67638ef0888b9 100644 (file)
@@ -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";