tarantool / cartridge-java

Tarantool Cartridge Java driver for Tarantool versions 1.10+ based on Netty framework
https://tarantool.io
Other
27 stars 11 forks source link

Fix checking the current Tarantool version for minimum requirements #436

Closed valery1707 closed 10 months ago

valery1707 commented 10 months ago

The actual version will assume that version "3.2" is less than version "2.3" because 3 >= 2 && 2 >= 3 will computed as false.

I haven't forgotten about:

Related issues: none

valery1707 commented 10 months ago

Check Tests Enterprise / tests (pull_request) are failed with message:

Error:  Errors: 
Error:    SslClientITEnterprise.setUp:53 » DockerClient Could not build image: The command '/bin/sh -c curl https://curl.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt &&     yum -y install wget &&     wget $DOWNLOAD_SDK_URI/$SDK_TGZ &&     mkdir ./tmp_sdk && tar -xf $SDK_TGZ -C ./tmp_sdk &&     mv ./tmp_sdk/tarantool-enterprise $SDK_TGT_DIR && rm $SDK_TGZ &&     cp $SDK_TGT_DIR/tarantool /usr/bin/tarantool' returned a non-zero code: 6
Error:    SslClientMTlsITEnterprise.setUp:54 » DockerClient Could not build image: The command '/bin/sh -c curl https://curl.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt &&     yum -y install wget &&     wget $DOWNLOAD_SDK_URI/$SDK_TGZ &&     mkdir ./tmp_sdk && tar -xf $SDK_TGZ -C ./tmp_sdk &&     mv ./tmp_sdk/tarantool-enterprise $SDK_TGT_DIR && rm $SDK_TGZ &&     cp $SDK_TGT_DIR/tarantool /usr/bin/tarantool' returned a non-zero code: 6
[INFO] 
Error:  Tests run: 2, Failures: 0, Errors: 2, Skipped: 0