Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Test failure #98

Open
olegstan opened this issue Aug 30, 2017 · 1 comment
Open

Test failure #98

olegstan opened this issue Aug 30, 2017 · 1 comment

Comments

@olegstan
Copy link

I run tests on my server and got this errors

There are 4 failures
Hoa\Math\Test\Unit\Visitor\Arithmetic::case_visitor_exhaustively():
In file /usr/share/nginx/html/vendor/hoa/math/Test/Unit/Visitor/Arithmetic.php on line 98, mageekguy\atoum\asserters\phpFloat() failed: float(1610074.7993529) is not nearly equal to float(1610074.799353) with epsilon 1.0E-14
-Expected
+Actual
@@ -1 +1 @@
-float(1610074.799353)
+float(1610074.7993529)
Hoa\Protocol\Test\Unit\Protocol::case_resolve_unfold_to_non_existing_resources():
In file /usr/share/nginx/html/vendor/hoa/protocol/Test/Unit/Protocol.php on line 144, mageekguy\atoum\asserters\phpArray() failed: array(2) is not equal to array(2)
-Expected
+Actual
@@ -3 +3 @@

  • string(57) "/usr/share/nginx/html/vendor/hoathis"
  • string(58) "/usr/share/nginx/html/vendor/hoathis/"
    Hoa\Ustring\Test\Unit\Ustring::case_check_no_mbstring():
    In file /usr/share/nginx/html/vendor/hoa/ustring/Test/Unit/Ustring.php on line 71, mageekguy\atoum\asserters\exception() failed: null is not an exception
    Hoa\Ustring\Test\Unit\Ustring::case_to_ascii_no_transliterator_no_normalizer_try():
    In file /usr/share/nginx/html/vendor/hoa/ustring/Test/Unit/Ustring.php on line 967, mageekguy\atoum\asserters\phpString() failed: strings are not equal
    -Expected
    +Actual
    @@ -1 +1 @@
    -string(26) "Un ete brulant sur la cote"
    +string(22) "Un t brlant sur la cte"
    There is 1 output
    In Hoa\Math\Test\Unit\Visitor\Arithmetic::case_visitor_exhaustively():
    Failed expression: .

There are 11 exceptions
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_server():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 121:
~~> Hoa\Websocket\Connection::_run(): (42) An exception has been thrown. We have tried to close the connection but another exception has been thrown.
~~> in /usr/share/nginx/html/vendor/hoa/websocket/Connection.php at line 486.
~~>
~~> Contains the following exceptions:
~~>
~~> • Hoa\Socket\Connection\Connection::write(): (5) Pipe is broken, cannot write data.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Connection/Connection.php at line 853.
~~>
~~> • Hoa\Socket\Connection\Connection::write(): (5) Pipe is broken, cannot write data.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Connection/Connection.php at line 853.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_unsolicited_pong_with_payload_of_size_42():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 282:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_fragmented_message():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 296:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_empty_text_frame_with_an_empty_payload():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 320:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_fragmented_text_frame_with_an_empty_payload():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 333:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_text_frame_with_a_valid_UTF_8_payload():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 353:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_text_frame_with_a_full_UTF_8_payload():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 360:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_fragmented_text_frame_with_a_valid_UTF_8_payload():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 386:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_fragmented_text_frame_of_1_bytes_with_a_valid_UTF_8_payload():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 405:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_fragmented_text_frame_of_1_bytes_with_a_full_UTF_8_payload():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 412:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.
Hoa\Websocket\Test\Integration\Protocol\Rfc6455::case_send_a_message_and_close():
~~> An exception has been thrown in file /usr/share/nginx/html/vendor/hoa/websocket/Test/Integration/Protocol/Rfc6455.php on line 462:
~~> Hoa\Socket\Client::_open(): (1) Client returns an error (number 111): Connection refused while trying to join tcp://127.0.0.1:1234.
~~> in /usr/share/nginx/html/vendor/hoa/socket/Client.php at line 191.

@Hywan
Copy link
Member

Hywan commented Sep 1, 2017

Hello,

How are you running the tests please? I see you have errors from hoa/math, hoa/websocket, hoa/socket, and hoa/ustring.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants