Open
Description
Poll test fails on all 1.10 versions and on 2.* versions of Tarantool up to 2.3.1 on Mac OS. It passes since tarantool/tarantool@7abf1e5 was added to 2.3.2 version.
How to reproduce
- Install tarantool build dependencies:
brew install autoconf automake libtool openssl@1.1
- Clone tarantool/tarantool repository
- In tarantool dir run
git checkout --progress --force refs/tags/"$(VERSION_TAG)"
git submodule sync
git -c protocol.version=2 submodule update --init --force
git show 11e87877df9001a4972019328592d79d55d1bb01 | patch -p1 -f
mkdir "${T_DESTDIR}"
cmake . -DENABLE_DIST=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 -DOPENSSL_LIBRARIES=/usr/local/opt/openssl@1.1/lib
rm -f src/lib/small/VERSION
rm VERSION
make -j$(sysctl -n hw.logicalcpu)
make DESTDIR="${T_DESTDIR}" install
to build tarantool and prepare in for testing
3. Add TARANTOOL_DIR to PATH beginning
4. Clone tarantool-c
5. Go to tarantool-c dir and run
git submodule update --init --recursive
ulimit -n 4096
cmake .
make
pip3 install -r test-run/requirements.txt
make test
Result
An error message will appear in tarantool-c/test/var/rejects/cli/tarantool-poll.reject:
TAP version 13
# tnt_connect: Connection reset by peer
# Failed test 'expected non-assert test'
# in /Users/das_1gel/Desktop/c-tarantool/test/cli/tarantool_poll.c at line 96
# Looks like you failed 1 test of 1 run.
# Failed test 'subtests'
# in /Users/das_1gel/Desktop/c-tarantool/test/common/test.c at line 53
1..1
1..1
# *** test_poll: prep ***
not ok 1 - expected non-assert test
not ok 1 - subtests