Skip to content

Conversation

oleg-jukovec
Copy link
Contributor

@oleg-jukovec oleg-jukovec commented Aug 19, 2022

The function may return true for Tarantool 2.11. It is incorrect
because the bug was fixed in 2.10:

 ...
 1.10   1.10.11-5-g40d8f4df1
 ...
 2.8    2.8.2-12-g2663a9c6c
 2.10   2.10.0-beta1-51-g0428bbcef
 master 2.10.0-beta1-51-g0428bbcef

The patch fixes the problem and unifies a code that checks a support
of features.

Closes #103

@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/gh-103-version-check-fix branch 5 times, most recently from 138d256 to 1ace149 Compare August 19, 2022 13:01
Comment on lines 205 to 206
t.skip_if(helpers.memtx_func_index_is_supported(),
"Doesn't blocked by https://github.com/tarantool/tarantool/issues/6786")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I would say something like 'no error expected with a functional index on this tarantool version, correctness is verified by another test case'. Up to you.

@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/gh-103-version-check-fix branch 3 times, most recently from 18a474e to 760b834 Compare August 24, 2022 20:31
The function may return true for Tarantool 2.11. It is incorrect
because the bug was fixed in 2.10:

 ...
 1.10   1.10.11-5-g40d8f4df1
 ...
 2.8    2.8.2-12-g2663a9c6c
 2.10   2.10.0-beta1-51-g0428bbcef
 master 2.10.0-beta1-51-g0428bbcef

The patch fixes the problem and unifies a code that checks a support
of features.

Closes #103
@oleg-jukovec oleg-jukovec merged commit 94ab77b into master Aug 24, 2022
@oleg-jukovec oleg-jukovec deleted the oleg-jukovec/gh-103-version-check-fix branch August 24, 2022 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test: vinyl_is_broken() check is not fully correct
4 participants