tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

Skip SQL tests if tarantool version < 2.0.0 #195

Closed ylobankov closed 2 years ago

ylobankov commented 2 years ago

Problem: all SQL-related tests fail with the following error if tarantool < 2.0.0 is used:

tarantool.error.DatabaseError: (48, 'Unknown request type 11')

Tarantool supports SQL-related stuff only since the 2.0.0 version. So this patch adds a special decorator that will skip the test if tarantool version < 2.0.0 is used.

Fixes #194

Totktonada commented 2 years ago

Can I look at run logs on 1.10 somewhere?

ylobankov commented 2 years ago

Can I look at run logs on 1.10 somewhere?

For running tests against tarantool 1.10, I manually triggered the integration.yml workflow from tarantool repo against my test branch. The run log is available here.

Totktonada commented 2 years ago

(Squashed commits. Will push after CI tomorrow. Feel free to push yourself.)