odyssey/test
Roman Khapov 9a6647fa33
Fix so nosigpipe (#629)
* machinarium/socket: fix enable usage

Seems like it was always set to 1 by mistake.

Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>

* sources/sighandler.c: fix SIGPIPE ignoring

Seems like it was added into mask but not in ignore_mask by mistake.

This patchs will not change any behaviour because now there is no
SIGPIPE section in switch, which handles signals in oddyssey machine.

Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>

* tests/oddyssey_test.c: add SIGPIPE ignoring

For now, tests doesn't have SIGPIPE ignoring.
This will lead to flaky behaviour for some tests (like tls unix socket),
because of the race for reading messages from closed socket.

This patch adds some new tests for closed socket reading and adds
SIGPIPE ignoring for odyssey_test.c

Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>

---------

Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>
2024-07-16 11:27:01 +05:00
..
machinarium Fix so nosigpipe (#629) 2024-07-16 11:27:01 +05:00
odyssey Add addr pool in rule (#550) 2024-02-14 14:57:20 +03:00
CMakeLists.txt Fix so nosigpipe (#629) 2024-07-16 11:27:01 +05:00
README.md apply fmt && fix CI second try (#215) 2020-10-19 14:51:02 +05:00
odyssey-test.conf use SO_REUSEPORT to graceful shutdown 2020-08-10 13:39:09 +05:00
odyssey_test.c Fix so nosigpipe (#629) 2024-07-16 11:27:01 +05:00
odyssey_test.h Nits: include headers for explicit function (#455) 2022-08-16 16:53:37 +05:00

README.md

#Odyssey test suite

####Build and run instructions

Before you continue reading,

please see and follow[odyssey build instructions](../ README.md #Build - instructions) .

To run you will need

: *postgresql

    odyssey_test